Most waves form from the wind blowing on the sea surface. The wind hits the water and causes a ripple composed of small waves between 1 and 2 cm that are called capillary waves. The faster and more durable the wind, the higher the wave will be. If the ripple formed is still small and the wind stops blowing, the waves will fade with it. Now, if the wind continues, this ripple gets higher, longer and faster until it forms the waves we know that surfers use in sports.
It can affect our ecosystem in many ways, think about the animals. Where are they going to live? If trees, get demolished to create a hotel, or a gas station.