What did they use before electricity?

Before electricity we used things like coal and oil, or earlier, we used wood for fires. And before lights we used candles and lanterns.