How did Thomas Edison invent the lightbulb?

He had a bright idea