Energy drinks have a lot of sugar, which contains calories. Calories supply little bursts of energy, so that you will have enough for whatever activity you are doing.
The internet video that shows a mountain dew "flashlight" was a hoax. They simply used the solution found in glow sticks, which made it appear that adding simple household ingredients would cause it...