A confection is a food item that is rich in sugar and carbohydrates. It is a sweet prepared food item made to be eaten as a treat. Confectionery is the art of making confections. Exact definitions are difficult, but in general, confectionery is divided into two broad and somewhat overlapping categories: bakers confections and sugar confections. Bakers confectionery includes sweet pastries, cakes, and similar baked goods, while sugar confections include candies, chocolates, and other sweets. Confections are used to mark celebrations or events, such as a wedding cake, birthday cake, or Halloween. A confection can also refer to a medicinal preparation usually made with sugar, syrup, or honey. It can also refer to a work of fine or elaborate craftsmanship, or a light but entertaining theatrical, cinematic, or literary work.