Tank with heater

Royal Center, Vijayanagara

This small tank apparently has a heater associated with it – charcoal was found in the square pit behind the tank. What could it be – a space heater, a hot tub, a grill, a sauna? Perhaps water was simply heated over the pit and then poured into the tank.