Which electronic component allows alternating current (AC) to flow but prevents direct current (DC) flowing?

A resistor
A transistor
An Inductor
A capacitor