It has been used to control pests internally and externally, often being used around the house for insect infestations.