Which is important, sun or the moon?

Teacher : Which is more important to us,
the sun or the moon?
Pupil : The moon.

Teacher : Why?
Pupil : The moon gives us light at night
when we need it but the sun gives us light
only in the day time when we dont need it.