Tamping is the process of packing ground coffee into a portafilter so that it is compressed evenly. This helps to ensure that the water passes through the coffee evenly and extracts all of the flavors from the grinds. It is also important to make sure that the water is heated to the correct temperature before being poured into the espresso machine.