Bats make use of ultrasound (above 20000 Hz) waves to fly avoiding barriers. They emit ultrasound while flying. These waves are reflected back if they face a barrier. When a bat receives the reflected waves it can judge the position of the barriers and fly avoiding them.