Homophones
'Complement' and 'compliment' differ by a letter
A complement completes something, a compliment praises it. Both trace back to Latin complere, to fill up.
A complement completes something, a compliment praises it. Both trace back to Latin complere, to fill up.

Homophones are words that sound the same but differ in spelling and meaning. English has thousands of them because it borrowed spellings from many languages.

Bare means uncovered, bear means to carry or the animal. Spellcheckers ignore the difference because both are real words.

Both descend from Latin pax, since a piece was originally a portion settled by agreement.