Warm water is less dense than cold water because its molecules move faster and spread out more. In a layered water experiment, if warm water is gently placed on top of cold water, it stays separate because the denser cold water stays below.
Reversing the order causes mixing. This demonstrates how temperature affects density and helps explain ocean currents, weather patterns, and the principle behind convection in fluids.