confection

A sweet food made mostly from sugar, like candy.