The words “complement” and “compliment” are spelled and pronounced almost the same, but have very different meanings.
To complement is to make complete, in some sense or another. Thus, a drink may complement an entree or Watson may complement Holmes or the set of everything that is not a duck complements the set of ducks.
To compliment is to praise.