A student is studying microorganisms and recalls that one type of microorganism decomposes organic matter while another type fixes nitrogen from the atmosphere.

which two types of microorganism is the student describing

The student is describing decomposer microorganisms and nitrogen-fixing microorganisms.