Most pests cannot stand the smell of peppermint oil, even though a lot of humans love it. It's also toxic to many insects. Leaving traces of it around the house, particularly in 'hot spots' that tend to attract a lot of pests, can kill some pests and cause others to leave.