As a result, close to freezing, colder water floats to the top and the warmer water sinks to the bottom. The density of water as a function of temperature can be seen in the plot on the right. Eventually, the coldest water, which has floated to the top of the lake in wintry conditions, freezes to form a layer of ice.