Complex numbers extend the real numbers by including the imaginary unit 'i', which is defined as the square root of -1, allowing for the representation of numbers in the form a + bi, where a and b are real numbers. This extension enables solutions to polynomial equations that have no real solutions and facilitates advanced mathematical and engineering applications, particularly in fields like signal processing and quantum mechanics.