Gas exchange occurs in the alveoli of the lungs and each is made from a single layer of flat cells, Many alveoli in the lungs, so a large surface area for exchangement of C02 and O2. They are surrounded by a network of capillaries and oxygen diffuses out of them via the alveolar epithelium to the hemoglobin.
Hope this helps