what is the application of complements such as 1's complement and 2's complement?
To express negative numbers in binary format.
From Wikipedia:
The two's complement of the number then behaves like the negative of the original number in most arithmetic, and it can coexist with positive numbers in a natural way.