They break down decomposing matter from a macroscopic scale into even smaller molecular scale that can be handled by bacteria and plants etc, and since they are in turn eaten by bigger stuff that is also a way for energy to be recycled into a form usable by other organisms.