Resistors, inductors and capacitors each oppose AC differently. The opposition of an inductor or a capacitor is called reactance, measured in ohms. Inductive reactance rises with frequency and capacitive reactance falls with frequency. So an inductor passes DC freely and a capacitor blocks it.
In a resistor, current and voltage are in phase. In a pure inductor the current lags the voltage by 90° (π/2). In a pure capacitor the current leads by 90°.
The total opposition of a series circuit is its impedance Z. The voltages are out of step, so they add like the sides of a right-angled triangle, not as plain numbers. At resonance XL = XC, so Z = R (its smallest value) and the current is largest.