Some coffee bags have a valve to release carbon dioxide while preventing oxygen from entering the bag. This helps to keep the coffee beans fresh. To use the valve, simply press it with your finger to release the excess air before resealing the bag.