Dragonflies are opportunist feeders, preying on whatever they can find.
Prey may be consumed during flight or after settling. Dragonflies will often discard the wings of larger insects and consume the remaining parts. Dragonflies may use learning and memory to improve their hunting skills. It has been noted that dragonflies favoring a specific type of prey may become progressively more effective in locating and catching it - suggesting they may well exhibit learning processes similar to bees. This trait is part of the process for finding and copulating with females.