How old is candy bar?

Candy bars as we know them today have existed since the late 19th century. One of the earliest examples is the "Chocolate Cream Bar," which was created by the Walter Baker & Company in 1866. However, the term "candy bar" specifically started being used in the early 20th century to refer to confectionery products made of chocolate, sugar, and other ingredients, formed into a rectangular shape and typically wrapped in foil or paper.