The most common species, such as houseflies and fruit flies, typically inhabit people's homes, restaurants, and markets. They prefer to live near dunghills and garbage cans.