Photosynthesis is the process by which plants convert light energy, carbon dioxide, and water into glucose and oxygen. It occurs in two stages: the light-dependent stage where light energy is absorbed by chlorophyll to split water into hydrogen and oxygen, and the light-independent stage where carbon dioxide and water are converted into glucose using the chemical energy produced in the first stage. Photosynthesis takes place in the chloroplasts located in the palisade mesophyll cells of leaves. The glucose produced can then be used by the plant for energy, converted into other organic compounds, or transported to other parts of the plant for storage.