Question

What is habitat of basidiomycetes?

Answer

In soil, on logs and tree stumps and in living plant bodies as parasites, typically terrestrial, e.g. smut, rust.