According to legend, there was a candy maker located in Indiana around the turn of the century, who wanted to invent a candy that was a witness to Jesus Christ. His idea later became known as the candy cane.
First of all he used a hard candy, because Jesus Christ is the rock of ages. This hard candy was shaped so that it would resemble either the letter 'J' or a shepherd's staff.
He made the candy white in colour, to represent the purity of Jesus Christ.
Next, a red stripe was added, to represent the blood that Jesus Christ shed for the sins of the world, and three thinner red stripes, for the punishment he recieved on our behalf when the Roman soldiers whipped him.
A green stripe was added as a reminder to us that Jesus Christ is a gift from God.
Finally, the flavour of the cane is peppermint, which is similar to hyssop. Hyssop is in the mint plant family and was used in the Old Testament for purification and sacrifice. Jesus Christ likewise, is the pure lamb of God, who came to be a sacrifice for the sins of the world.
So the next time you see a candy cane, hear the sermon that it preaches. Jesus Christ, the good shepherd, is the sinless rock of ages who suffered and died for our sins.