Which of the following is correct about light and sound waves?