The process whose specific outcome is the progression of a fruiting body organ over time, from its formation to the mature structure. The fruiting body is a spore bearing structure. In fungi, the sporocarp (also known as fruiting body) is a multicellular structure on which spore-producing structures, such as basidia or asci, are borne. The fruiting body is part of the sexual phase of a fungal life cycle, with the rest of the life cycle being characterized by vegetative mycelial growth. The sporocarp of a basidiomycete is known as a basidiocarp, while the fruiting body of an ascomycete is known as an ascocarp. A significant range of different shapes and morphologies is found in both basidiocarps and ascocarps; these features play an important role in the identification and taxonomy of fungi.