Confection

n.
  1. A composition of different materials.
  2. A preparation of fruits or roots, etc., with sugar; a sweetmeat.
  3. A composition of drugs.
  4. (Med.) A soft solid made by incorporating a medicinal substance or substances with sugar, sirup, or honey.

The pharmacopœias formerly made a distinction between conserves (made of fresh vegetable substances and sugar) and electuaries (medicinal substances combined with sirup or honey), but the distinction is now abandoned and all are called confections.