How does a hot tub keep water warm?
A hot tub maintains warm water by combining a heater with insulation and a thermal cover, so the system mainly replaces heat that is lost rather than reheating the entire water volume from cold each time.
The heater adds thermal energy when the water temperature falls below the set point. Insulation around the shell and cabinet slows heat transfer to the surrounding air, while the cover reduces heat loss from the exposed water surface.