Why do we fear the darkness, not light?

Darkness obstructs your vision and when we, as humans, are deprived from using one of our senses that we rely on so much, we tend to fear it. You're always going to be afraid to walk into places you can't see or can't get a good view of. From a philosophical