Christmas lights are lights used for decoration around Christmas. The custom harks back to the use of candles to decorate the Christmas tree in upper-class homes in 18th-century Germany. Christmas trees displayed publicly and illuminated with electric lights became popular in the early 20th century. By the mid-20th century, it became customary to display strings of electric lights as Christmas decoration detached from the Christmas tree itself, along streets and buildings.