Traps and attractants often appeal to an insect’s needs for food, shelter, and reproduction. One type of mechanical trap is a sticky barrier, which can be placed on the trunks of trees and woody shrubs to prevent crawling insects from causing damage.