If Vm and Im are peak voltage and current, Impedance Z in an AC circuit is
Impedance refers to the overall obstruction offered by a circuit containing different components to the passage of current. Also Z has unit same as resistance.
So, drawing an analogy with the ohm's law, we get the above relation