The very thin membrane across which gas exchange occurs in the lungs; composed of the simple squamous epithelium lining the alveoli, the endothelium of the pulmonary capillary walls, and their fused basement membranes.