As pointed out in a different comment thread here, that’s a header tank which was used in older, multi-level buildings where city water pressure was not adequate for the rise to upper floors. Builders would set up a tank that slowly filled using the lower pressure and could act as a sort of mini water tower for the building. This did not contain hot water, but there is a chance a hot water tank was using this supply.