An oil lamp is a lamp used for lighting by burning oil. Usually, it produces a flame by burning olive oil, or another vegetable oil, or whale oil during the 1700s and 1800s. They burned cleaner, with less smoke, than candles and other sources of light before electricity.