If you look underneath, you see ribs. These are called gills. When mushrooms are mature, dust-like spores fall from the gills and produce new mushrooms.
Nature's Notes about mushrooms