Mashing is when you use malts that have diastatic power to actually convert starches into fermentable sugars. The key is to use a prescribed amount of water at a prescribed temperature, and the proper amount of malt with diastatic power to convert. You must have base malt for this process, or malts that have enough diastatic power to convert themselves and, if present, non-diastatic adjuncts.