When you need to order custom-printed coffee bags, you can choose to add the one-way degassing valve.
The valve on the coffee bags is for the freshly roasted coffee to release carbon dioxide. Since it is a one-way valve, so the oxygen and moisture are kept out from harming the coffee.