Merriam-Webster's Advanced Learner's Dictionary:
candy
can·dy /ˈkændi/ noun, pl -dies US : a sweet food made with sugar or chocolate
[noncount]
• a box/bowl/piece of candy
• The children are fond of candy. [=(Brit) sweets]
• The cough syrup tastes like candy.
[count]
• chewy candies
- often used before another noun
• a candy bar
- see also cotton candy, rock candy