Photosynthesis is the only biological process which releases oxygen into the atmosphere. Oxygen supports all life on earth. No living being can remain alive without oxygen. Some of the oxygen may be used in respiration in the leaf cells , but the major portion of it is not required and it diffuses out into the atmosphere through the stomata. In a sense, even this oxygen is not a waste, because all organisms require it for their existence including the plants which requires it for respiration . So, oxygen is not a waste of photosynthesis because all organisms require it for their existence including the plants.