The cap of a mushroom is the upper, typically rounded part of the fruiting body of fungi. It serves to protect the spore-producing structures located beneath it. The shape and color of the cap are crucial for mycologists to identify different mushroom species. Some mushrooms have flat and wide caps, while others have conical or even umbrella-like shapes.

In addition to protection, the cap plays a role in the dispersal of spores. When mature, the spores are released from the underside of the cap, often aided by environmental factors like wind or rain. This process ensures the spread of the fungi to new locations, allowing them to colonize new substrates.

Mushroom caps can vary greatly in texture, from smooth to scaly, and in color, ranging from dull browns to vibrant reds and yellows. These characteristics not only aid in identification but also in the ecological role the mushroom plays in its environment, such as decomposing organic matter or forming symbiotic relationships with plants.