Looks like it could be a kerosene wick burner and chimney that might have originally gone inside a larger lamp.
I agree with Collin. Probably designed to fit into an outdoor housing. Someone has probably electrified the housing and had this left over.
If the tank section is sound, it could be painted a pleasant colour, and with a shade if some sort, it would make a nice ornamental lamp.
For heating greenhouses, one would rather use larger burners, producing more heat, I'd guess. To me, this looks like an 8''' (line) oder 10''' Kosmos burner, only. Burners of that size, combined with large tanks, had been in use (among other purposes, for sure) in stationary railway lanterns, e.g. to indicate the position of switches/points. Such lanterns are commonly rectangular in shape (at least in continental Europe, and with a Kosmos burner, it might well be of continental European origin). DSB happens to be the abbreviation of Danske Statsbaner, the Danish state railways. I have no idea how Danish switch lanterns of the steam engine era looked like, and haven't been able to find a picture of one (with kerosene innards) online. So I may be on the wrong track. But maybe not... Is it just marked with the letters DSB, or is there some kind of logo? Could you maybe take a picture of the wick adjustment wheel? Best, Christina
DSB, an abbreviation of Danske Statsbaner is the largest Danish train operating company so it is possibly a train or station lamp.