What is the primary role of fungi in an ecosystem?

A. To produce oxygen through photosynthesis
B. To decompose organic matter
C. To produce food for animals
D. To provide habitat for other organisms

Answer: To decompose organic matter


Additional Information: Fungi play a crucial role in ecosystems by decomposing organic material and recycling nutrients.