God is light and brings that light to this earth. We are to live in that light. Satan is the ruler of the darkness and wants to take that light from us.
We need to remain in that light which leads us into truth and reveals to us our sins, so we can repent of them and be lights to this world.