The plum fruit moth (Grapholita funebrana) lays its eggs on the surface of plums. After hatching, the caterpillars (or maggots) burrow into the fruit to feed, ruining it. They later burrow out to pupate back into moths.