in which haploid cells are produced.

Those next-generation cells, of course, are spores, hence sporangia, which in turn are structures associated with sporophytes. Contrast with gametangia.

Note that both plants and , etc., possess sporangia, i.e,. the reproductive structure that produces their spores. In land plants it is in association with the sporangia that meiosis" occurs, as is also true in many cases for fungi.