Sound is a vibration that propagates through compressible media such as air or water as mechanical waves of pressure and displacement. It can be audible or inaudible. Frequency is the number of occurrences of a repeating event per unit time and is an important parameter used to specify the rate of oscillatory phenomena including sound signals. The human ear receives sound waves, and the wavelength is the spatial period of a wave - the distance over which its shape repeats. Sound travels through various media as longitudinal or transverse waves and can be studied through the fields of acoustics, which deals with mechanical waves in gases, liquids and solids, and sonar, which uses sound waves to navigate or detect objects underwater.