what plant organ system captures suns energy make food plant and exchange oxygen carbon diox

What plant organ system captures the sun’s energy to make food for the plant and exchange oxygen for carbon dioxide