Minerals from the soil are taken up by plants, and energy from the sun is transformed by them into carbohydrates. Animals eat the plants, and insects that feed on them use the carbohydrates and minerals to make energy and protein. The droppings of the animals add to the organic matter in the soil and it starts over. Hope this helps.