Well, you're thinking of the kreb cycle and then the calvin cycle (aka light and dark reactions). They are actually light dependent and light independent reactions, not necessarily requiring dark, just nor requiring light. But yeah, some things require darkness (flowering, obviously), and some plants require darkness to uptake co2, but the actual food production of the plant goes on indefinitely under light I believe. I could have given you a step by step of what products were made and how like a year ago, but I've smoked a lot of weed since college biology lol. Here's a pic