The Pythagorean theorem is one of the most fundamental and well-known theorems in mathematics. It establishes a relationship between the three sides of a right-angled triangle. In a right triangle, we have two legs labeled 'a' and 'b', and the hypotenuse labeled 'c', which is the longest side opposite to the right angle.