Reflection occurs, as in a mirror, when a wave encounters the boundary but does not pass into the second medium, instead immediately changing course and returning to the original medium, typically reflecting from the surface at the same angle at which it contacted it.