A tamper compresses coffee grounds evenly, ensuring uniform extraction and enhancing flavor and crema in your espresso.