 Information about the light spectrum can affect seed germination, the signal to transition from vegetative to flowering, and the production of secondary metabolites such as anthocyanins.In addition, many plants also require both dark and light periods, an effect known as photoperiodism, to trigger flowering.Therefore, lights may be turned on or off at set times.