Impedance can be thought of as resistance that is frequency-dependant, called Reactance.
eg. A perfect capacitor has infinite impedance at DC, but will pass some amount of AC, depending on the frequency and capacitor value.
An inductor - coil, choke, solenoid, motor or loudspeaker windings etc. - is just a piece of wire at DC, but appears higher resistance as the frequency increases, as energy has to be stored and recovered in the magnetic field around it as that changes.
Think of that as the electronic equivalent of a flywheel; the bigger it is, the harder it is & longer it takes to change the "speed" of current flow through it.
The equivalent resistance (reactance) of a capacitor or inductor at any particular frequency can be calculated by simple equations:
For a capacitor, "Two pi F C":
2 * pi * F* C
[with F in Hz and C in Farads].
For an inductor, "One over two pi F L":
1 / (2 * pi * F * L)
[With L in Henries].
More info here: