Caterpillars are larvae of Lepidoptera, and their food sources are diverse. First of all, many kinds of caterpillars mainly feed on plant leaves. They will choose the greenest leaves on plants as food, such as the larvae of butterflies and moths. Some caterpillars like to live on tree trunks and feed on bark, such as blue-footed moth larvae. They will eat the inner bark for nutrition. There are also some kinds of caterpillars that eat fruits or fruits, such as silkworms and wolfberry moths. They will eat part or the whole fruit to get the nutrition they need. These different food sources enable caterpillars to find their own food in nature and promote their growth and development.