Pressure affects the equilibrium of a chemical reaction involving gases. An increase in pressure will shift the equilibrium towards the side with fewer gas molecules, while a decrease in pressure causes the equilibrium to favour the side with more gas molecules.