The process is called decomposition. Decomposers such as bacteria, fungi, worms, and insects break down dead organisms into simpler chemicals, releasing nutrients back into the environment. These nutrients can then be used by plants and other living things.
Decomposition recycles nutrients in ecosystems and removes dead organisms, helping prevent the spread of disease.