No, that's a "choke", or if there are two coils, it's a
transformer.
A capacitor is two "plates" (in reality they are usually just
foil) that are connected to two wires. Often (typically) there is
an electrolytic between the plates.
There is more to a capacitor, but that's the basics.