Echolocation is a system used by animals, such as bats and whales, to determine the location and distance of objects by emitting sounds and listening for echoes.