What is the meaning of Sweet-and-sour?

Having both sweet and sour or tart taste.

Having both positive and negative traits, or inspiring conflicting good and bad feelings.

Source: wiktionary.org