Does a pieris rapae like sunlight?

Can you answer this question?