What I'm thinking for this question is that some kind of filter is put around the sun by aliens that prevents some kinds of solar energy from passing through but allows other types.
Like if it stopped visible light but allowed UV.
Is there any way that the parts of light plants need for photosynthesis can be separated from visible light, allowing the plants to survive but preventing visible light from passing through?
I've tried to do my own research on this, but all I've found is that they require a nonspecific "light", and I'm not sure if this means specifically visible light or all kinds of light, such as UV.
For the question, assume that the barrier around the Earth can sort between different types of light, regardless of whether or not this makes any sense.
EDIT: Close voters, I understand my question may be slightly difficult to understand due to the nature of what I am asking, however reading the answers below should allow you to see what I am looking for, and show that there are others who understood the question even if you didn't.