Complement means to add, supplement, or complete something (and, in its noun form, is usually a thing that completes or is a quantity of such, as in the idiomatic phrase full complement). Compliment means to congratulate or praise politely (and, in its noun form, is a kind praise). Thus I gave my compliments to the patissier, whose dessert beautifully complemented the meal.