What you are actually picking
When you pick a mushroom, you are collecting the fruiting body of a fungus. Most of the organism is mycelium, a mesh of fine threads called hyphae that runs through soil, leaf litter, wood, or whatever the fungus is feeding on. The fruiting body forms when conditions are right, produces spores, and then decays. Picking it usually leaves the mycelium in place, which is one reason a productive patch may produce again in a later season.
The main parts
Cap
The cap, or pileus, is the top of the mushroom. Its shape, color, moisture, and texture change with the species and with age. Some caps have a slimy or sticky skin. Others carry scales or warts, which can be leftovers from a veil that covered the whole young mushroom.
Gills, pores, and teeth
Under the cap of most mushrooms are gills: thin blades that radiate out from the stem, where spores form. Not every mushroom has gills. Boletes have a layer of tiny pores, and hedgehog mushrooms have soft spines, sometimes called teeth. Chanterelles have blunt ridges that look like gills but are not true blades.
Gills also differ in how they meet the stem. They may be free, not touching the stem; attached to it; or decurrent, running down the stem. Gill spacing and color help too, but both can change as the mushroom ages.
Stem
The stem, or stipe, holds the cap up. It may sit in the center or off to one side. It can be solid, stuffed with pith, or hollow, and it can be tender or tough. Some stems are swollen at the base, and some are fibrous enough to be hard to chew.
Ring
Some mushrooms have a ring, or annulus, on the upper stem. The ring is what remains of a partial veil that covered the gills when the mushroom was young. Rings can be fragile, and many fall off or fade with age, so a missing ring does not prove much either way.
Volva and base
Some mushrooms have a cup-shaped sac at the base of the stem called a volva. It is the remnant of a veil that enclosed the whole young fruiting body. A volva can be partly or fully underground, so you may need to dig gently around the base to find it. Do not eat a mushroom with a volva unless an expert has identified it. Some of the most dangerous mushrooms have one.
Spore print
To take a spore print, set the cap gill side down on paper or glass, cover it with a bowl to slow drying, and leave it for several hours or overnight. The color of the deposit (white, cream, pink, brown, or dark) is a useful clue. A white spore print narrows the field, but it does not identify a species, because many white-spored mushrooms exist, including deadly ones.
How the features fit together
Use several features at once rather than relying on one. Note the habitat (on wood, in soil, under a particular tree), the season, the smell, and any color change when the flesh is cut. Compare what you have with a field guide for your region. If you can, check with a local mycological society, since photos in books and apps rarely show every stage or variation.
What structure means in the kitchen
Structure also guides preparation. Most wild edible mushrooms are cooked rather than eaten raw. Trim the stem base, brush off soil, and check for insects. Tough or fibrous stems are often set aside for stock. The parts you eat are covered in more detail in a guide to which part of a mushroom should be eaten. In short, the fruiting body is the food, and the mycelium is usually not eaten.
Growing edible mushrooms
Cultivated species make the parts easy to see, which helps when you are learning. Button mushrooms (Agaricus bisporus) have gills hidden under a veil that tears as the cap expands, and many growers harvest them while the veil is still intact. Oyster mushrooms usually have gills that run down a short, side-set stem, or almost no stem at all. For the names and groups of common species, a guide to types of mushrooms with scientific names is a good next step.
Safety first
Knowing the parts of a mushroom helps you describe what you have, and it is the foundation of identification. It does not make a mushroom safe to eat. Several deadly species resemble edible ones, and some toxic species have few obvious warning signs. Only eat a wild mushroom once you have identified it with certainty. For a wider overview, a guide to which fungi can be eaten is a useful starting point, but no list replaces a positive identification of the specimen in your hand.