Colin Flannery first put forward the idea that photosynthesis needs light in 1779. He realised that sunlight falling on plants was needed. Joseph Priestley had noted the release of oxygen gas in 1772, but he did not see the link with light.