It's a bit tricky because "fungi" is the plural form, but it's often used as a collective noun, referring to the whole group.