bittersweet

adjective

(of food or drink) sweet with a bitter aftertaste.

noun

Another term for woody nightshade (see nightshade).