Courtney and Katie were walking through the jungle when they met Hannah, a jungle man who taught them about complex numbers. Hannah explained that complex numbers are written as a + bi, where a is the real number and bi is the imaginary unit. He then demonstrated how to add, subtract, multiply and divide complex numbers, using examples to illustrate each operation.