If we assume that we have time-harmonic currents and voltages, that is we can decompose our signals such that
[tex]\mathbf{I}(\mathbf{r},t}) = \sum \mbox{Re}\left[ \mathbf{I}_ne^{-i\omega_n t} \right][/tex]
Then we can work in the complex domain for ease of analysis. In this regard, the complex numbers retain information about the magnitude and phase of the signal. It also eases calculations because now the time derivatives are simply multiplicative factors of \omega, that is,
[tex]\frac{\partial}{\partial t} V = -i \omega V[/tex]
where we are working with a single frequency. Since circuit components like capacitors and inductors work on the premise that the voltage and currents are related by time-derivatives, this means that we can subscribe a simple complex impedance to these circuit elements that fully entails their behavior. For example, a capacitor relates
[tex]I(t) = C\frac{d V(t)}{dt}[/tex]
In the time-harmonic case,
[tex]I = -i\omega C V[/tex]
So it is as if the capacitor is a resistor with a resistance of
[tex]Z_c = \frac{i}{\omega C}[/tex]
But since it is complex number we call it an impedance. Specifically, real impedances are resistances, imaginary impedances are reactances.
Thus, we can now replace components that have a time-derivative dependence with effective impedances and use simple circuit analysis to analyze what would otherwise be difficult circuits.