Confection refers to a sweet or sugary food item that is typically made through a process of cooking and shaping ingredients such as sugar, cocoa, milk, and butter. This can include various types of candies, chocolates, truffles, and other sweets. The term confection also encompasses the art of creating these treats using specialized techniques and equipment.