there's a lot of baggage with photosynthesis because plants have been around for a long, long time.
in fact, they have been around and have existed in so many climates and microclimates that there are actually different types of photosynthesis: CAM, C2, C3, and C4. some came about because the gases in atmosphere changed over time, others because of heat and humidity.
if you have a half dozen or so houseplants, most likely you have plants that create food via 2 different types of photosynthesis.
for example cacti use CAM photosynthesis to prevent water loss during the day when it's really hot out. a number of succulents also use this and it's such an important part of survival in specific climates that it's actually an example of convergent evolution where something like the euphorbia plants in Africa developed while never sharing a close genetic ancestor with the cacti and succulents of North and Central America.