When energy waves (such as light, sound, and various electromagnetic waves) are caused to depart from a straight path due to imperfections in the medium, it is called scattering. A great example of basic scattering is to think of the sun shining on you through a thin cover of clouds.