Describe the origin of an ocean wave

Describe the origin of an ocean wave and explain how it travels along the open ocean and then changes as it eventually comes ashore