Light and electricity are two completely different phenomena, and there is no direct connection.
Light can generate electricity, such as solar cells; Electricity can produce light, just like all electro-optical components.
Photons and electrons are essentially the same. The difference is that when they meet, photons are guests, electrons are masters, and masters welcome guests and never catch up with them.
Whether it will electrocute people is related to voltage, frequency and current. Usually, household appliances use power frequency current of 220 volts and 50 hertz. Because it is close to the frequency of our human heart beating, its danger is the greatest, but the danger mainly depends on voltage. The higher the voltage, the greater the danger to human body. Safe voltage over 36 volts is best not to touch directly.