The tomato fruitworm lays eggs on a plant and the larvae bore into the fruit where they stay until they complete their development.