What are candles used for?

Nowadays, candles are used for parties, gifts, and for just basic home decorations. Back around 600-900 A.D. candles were used for light, warmth, and energy.