Photosynthesis by plants is the main source of atmospheric oxygen.