Summarize this article in one sentence.
There are 2 broad types of bats, and each have different appearances and characteristics.  The bats that inhabit the temperate regions of Europe and North America all fall within the family Microchiroptera (roughly, "small bats"). Other than their small size (which is more of a common trait rather than a defining characteristic), they are physically distinct from their cousins in that they tend to have short noses or muzzles, smallish eyes, and larger ears. Megachiroptera is the suborder that represents most of the larger bat species of the world, but they are generally restricted to the tropical environments that stretch from Australia to South Asia and on to the Mediterranean. The species which make up this group tend to have longer muzzles and, some would say, even a vaguely rat-like or canine appearance. Because of this, several species native to Australia and Southeast Asia are commonly referred to as "flying foxes." If you want to attract bats to your home, the likeliest way is to guarantee a ready supply of food.  The small bats that occupy most of the temperate regions fly at night and use echolocation to find the flying insects that make up most of their diet. If you do not have insects outside of your home at night, you may not be able to attract bats. Larger tropical bats live primarily on a diet of fruit and nectar. They may search widely over the course of a year looking for ripening fruits or flowering plants. While food is the dominant factor in the ability of bats to thrive in an environment, they do also require shelter. This, too, differs by type.  Small insect-eating species tend to live in caves or in the hollow of a tree. Many species crowd very closely together, which can help them retain heat. Because they like to stay in enclosed spaces, many of them can be enticed to live in specially constructed bat houses. The flying foxes and other larger fruit bats usually roost in very dense concentrations in a relatively small section of forest. Because of the sounds, smells, and overall destruction that can come from hosting a horde of several thousand bats, in most areas their roosts are considered a nuisance to be removed. If your goal is in fact to attract bats to your yard, you should consider how the needs of the animals fit with the environment you have created. Ask yourself these questions:  Are there places for the bats to stay or rest? If not, you will not have bats that live on your property. Are there potential food sources? The most common bats to visit backyards are usually insect eaters. If there are no insects due to the use of pesticides, you will not likely have bats. Are there irritants that may discourage bats from coming to your yard? For example, many of the insect-eating bats use a combination of echolocation and passive listening to determine the location of the insects they prey upon. If you are in a loud neighborhood, those species would not be effective hunters and would stay away.
Learn about the bats of your region. Understand the feeding habits of bats. Determine the type of place where local bats rest. Think about how you can use bat behavior to your advantage.