An introduction to photosynthesis