The primary function of decomposers in an ecosystem is best described by option D:
D. Decomposers break down matter from dead organisms into simpler substances that can be recycled in ecosystems.
Decomposers play a critical role in nutrient cycling by breaking down organic matter and returning essential nutrients to the soil, making them available for use by plants and other organisms.