The correct answer is:
D. cell membrane
The cell membrane acts as a gatekeeper for the cell, controlling what substances, including oxygen, can enter and exit the cell. While chloroplasts are involved in the production of oxygen during photosynthesis, it is the cell membrane that allows the oxygen to pass into the environment.