Reflection occurs when a wave, such as light or sound, encounters an obstacle or boundary and bounces back in the opposite direction.