The sun still. It's just that that side never points towards the earth, but it still gets sunlight. Same as how the side we see isn't fully lit except during a full moon.