Rodents are attracted to odors from food and animal waste, shelter and water sources. Proper sanitation can help prevent rodent infestations.