Lighting can produce sound if the light switch is particularily loud or you’re using a tube which requires the electric field to ramp up before triggering the actual light effect. The electrical components doing that ramp up are audibly crackling.
Lightning, on the other hand, has been well explained by u/BrunoGerace.
Latest Answers