Meaning: The waves were moving up and down and side to side in a way that looked like they were dancing. The wind was blowing softly.
Choice of Words: Ocean waves move up and down and side to side, so they can be described as dancing. A gentle breeze is a light wind that is not strong.