We usually always associate bats with caves, but different species of bats require different roosting habitats. Some bats roost in caves, some in trees, attics, bat boxes, tree cavities, rock crevices, mines, anywhere they can obtain protective cover. Echolocation is a method of orientation which uses pulses of sound and their echoes. It is used to find roosting sites and for detecting prey. But, all of the species of microchiroptera are presumed to echolocate.
Bats use other senses like hearing, which is central to echolocation.
Sounds are used by bats for communication purposes like attracting mates or calling for their young. Some bats can see very well, and some cannot. Different species of bats have different variances in sight, and only the megachiropteras can see color. Another sense they use is smell. Bats smell through their nostrils, just as humans do.