that continues partially around the outer edge to simulate the sky to the dwellers below , by filtering the sunlight and creating night and day through a chemical process in the glass that turns darker during the night period and transforms more of the sunlight to energy .