What are the needed components to carry out photosynthesis