Pests are primarily attracted to food, but they will also be attracted to areas of your home that offer warmth, dryness, and protection from predators.