All components contain resistance, capacitance and inductance. The manifestation of these properties depends on the frequency. At normal frequency, only the capacitance is significant in capacitors.
Below the Resonant frequency, only the capacitance is significant. Above the resonant frequency, the inductance become significant