Candy recipes are written on the tomb of Pharaoh Tutankhamen and Ramses who lived 40 centuries ago .The period was candy made of honey, spices, grains plus so tasty . Yummy :)
When Alexander the Great of  Macedonia conquered Persia, 24 centuries ago known soldiers like sucking on "kand". It is primitive candy plant stalk soaked in honey mixed spices .
Because honey is not easily obtained, candy is luxury . Why not just use sugar ? Because, at the time humans haven't been able to make sugar .
New in the 3rd century or the 4th man can make a sugar cane in Persia . This knowledge has spared to Arabia, North Africa, and Europe . Were made of sugar candy . In English candy called candy .
Probably derived from the world "kand" (Alexander the Great's soldier candy), maybe also from the Arabic word which means qand sugar.
At the end of the 15th century, Colombus introduced sugar cane from the American continent to various places. With the sugar cane plantations and sugar mills in the tropics . At XIX century , at the time of the Emperor Napoleon, sugar beet production in Europe proposed . All over the world are becoming more and more cheap .
Mid 19th century, humans are able to make advanced machinery maker and candy can be made much cheaper . About a century later, in cities and villages, we could buy candy .
Once in Indonesia, candy called "cotton candy" or "lolipop". The word "candy" just used to refer to a white peppermint candy flavor, flat, round, and spicy . Somehow, the word candy can be replace the "cotton candy" or "lolipop" .

Sorry all... long time no update .
Im have exams everyday >.<