bittersweet

nouns

poisonous perennial Old World vine having violet flowers and oval coral-red berries; widespread weed in North America
twining shrub of North America having yellow capsules enclosing scarlet seeds

adjectives

tinged with sadness
"a movie with a bittersweet ending"
is similar to
experiencing or showing sorrow or unhappiness
"feeling sad because his dog had died"; "Better by far that you should forget and smile / Than that you should remember and be sad"- Christina Rossetti
having a taste that is a mixture of bitterness and sweetness