In cup fungi, the spore-producing asci are located on the inner surface of the mature fruiting body. Spores are released in a cloud when the asci break open. Gilled mushrooms have basidia located on the gills on the underside of the cap. The spores are dropped from the gills when mature.