The definition of complex, real and pure imaginary number is as follows:

The absolute value of this number is given by:

So, the absolute value of a complex number represents the distance between the origin and the point in the complex plane. On the other hand, the absolute value of a real number means only how far a number is from zero without considering any direction.