Impedance includes the possibility of phase shift between voltage and current , or a time lag of either current (C ) or voltage (L)
Pure Resistance is always in phase.
Yet at sufficiently high f, all passive parts , R, L, C have imperfections. Longs leads and coils have L and R, then stray...