What is the function of the noun clause in this sentence:

I learned why there are fewer hours of daylight in the winter.


direct object

indirect object

appositive

subject