How are waves formed?

Waves are formed as a result of the constant friction between water and wind. If a wind is blowing over the water surface, it carries away particles of water with it. The water starts moving in this way....