why is sunlight included in the equation
I assume you are talking about the equation for photosynthesis, but anyways its included because sunlight is a form of energy which is needed for the reaction to happen.Hope this was able to help your understanding(: