The thinner is the wall of the alveoli the more is the amount of exchange of the gas. In addition to this the more, the concentration difference between the gases the more is the exchange. The exchange of gases in the lungs takes place by the process of diffusion. Diffusion depends on several factors like the thickness of the membrane. The other factor is the amount of diffusion is directly proportional to the surface area of the exchange.