This was once a boiler plant stack. At the least, it provided heat, and likely also some electricity and water pumping.