Valves are body structures with form of thin membranes . They are attached to the heart wall and constantly open and close it to regulate blood flow. Besides the heart, other organs that have valves are: lungs, kidney, liver, pancreas,..
The function of the valves in the lunges is to allow trapped air and fluids to flow past it, but blocks air from entering the diseased part of the lung.