TIR occurs not only with electromagnetic waves such as light and microwaves, but also with other types of waves, including sound and water waves. If the waves are capable of forming a narrow beam (Fig. 2), the reflection tends to be described in terms of " rays " rather than waves; in a medium whose properties are independent of direction, such as air, water or glass, the "rays" are perpendicular to associated wavefronts.