The light of the world is the HolySpirit who manifested light through Christ Jesus. Darkness is where the HolySpirit is not.
We are the light of the world by virtue of receiving the HolySpirit into our mortal bodies.