Sound is produced by vibrating objects and travels as longitudinal waves through air and other materials. A sound wave consists of alternating compressions and rarefactions that propagate in the direction of wave travel. The human range of hearing is typically 20 Hz to 20,000 Hz, though this decreases with age or exposure to loud sounds. Ultrasound and infrasound refer to frequencies above and below this audible range. Sound travels fastest through solids and slowest through gases, with the speed increasing with temperature.