Inside the alveoli is where a gas exchange occurs. Gas exchange is a biological process through which (usually two) different gases are transferred in opposite directions across a specialised respiratory surface. Gases are constantly required and produced as a by-product of cellular and metabolic reactions so an efficient system for their exchange is extremely important. It is linked with respiration in animals, and both respiration and photosynthesis in plants.