The sun runs on fusion. In its core, hydrogen nuclei join into helium, and a little missing mass leaves as light and heat. That light then crosses the distance to earth in about eight minutes. Daylight is a nuclear process with a short last step.
Sunlight is hydrogen becoming helium, then an eight-minute trip.