The sense organ in vertebrates that is specialized for the detection of sound and the maintenance of balance. It can be divided into the outer ear and middle ear, which collect and transmit sound waves, and the inner ear, which contains the organs of balance and (except in fish) hearing (see illustration). The term ear is often used for the pinna of the mammalian outer ear.