The brain is the center of the nervous system and it controls the rest of the organs, this includes conscious control by the organism, such as walking, but also things that are done automatically, such as processing sensory stimuli and memory-making.
The lungs are a pair of organs whose function is to obtain oxygen from the air and pass it to the bloodstream, as well as release the carbon dioxide from the bloodstream into the air.