Why candles stand on the altar
A custom of the Mass
Candles burn on or beside the altar at every Mass — in candlesticks, in even numbers by custom, placed on the altar or nearby. They descend from the lamps of the catacombs and the processions of a Church that once gathered before dawn, but the Church kept them long after electricity arrived. Their meaning is stated by their persistence: Christ the light of the world, honoured with the best the household has — real flame, real wax, consumed in the burning like everything offered to God.
Source: GIRM 117