Water fills a tank from the bottom, one layer at a time, as the inlet pipe feeds the lowest point. When the tank is full, the sun heats the surface. The topmost layer — the thinnest, with the most surface area exposed to air — evaporates first. The deeper layers, insulated by the water above, retain their heat more slowly. The evaporated layer is replenished by the next rain.