According to an article by NBC news, the sounds of the waves, coupled with other visual stimuli, help to trigger your parasympathetic nervous system, which helps you with feeling more relaxed. No wonder why there are so many YouTube sleep aid videos incorporating the sounds of the ocean.