Candy: anything you like so much that you could easily eat a whole boxful in one sitting
Confection: a dish or delicacy made with sweetness. Also, it is the action of creating, compounding, the mixing of ingredients, such as medicinal mixture that includes sweet syrups, but can also include sweet breads and pastries.