Heat from the sun warms the surface of the water.
Some particles of water change state, from a liquid to a gas, due to energy (or heat) from the sun.
These particles, called water vapour, then rise into the air.