Answer:
The dependent variable is the degree of depression and the independent variable is the amount of sunlight.
In experimental research, cause-effect relationships are usually analysed by testing the effect of independent variables over dependent variables. An easy way to tell one from the other is to think: independent causes a change in dependent.