Complex numbers are defined as a+bi where a, b are real numbers and i is defined as sqrt(-1). If b=0 then we get the set of all real numbers, but if b is not zero then we get a+bi and it is called an imaginary number.
Introduction to imaginary numbers:
Khan Academy on complex numbers:
