 Echolocating bats use echolocation to navigate and forage, often in total darkness.They generally emerge from their roosts in caves, attics, or trees at dusk and hunt for insects into the night.Using echolocation, bats can determine how far away an object is, the objects size, shape and density, and the direction (if any) that an object is moving.