Oxygen produced during photosynthesis is released into the atmosphere through tiny pores called stomata, located on the surface of leaves.