What is the difference between a capacitor and an inductor and how are they commonly used?

Hint: Think about RC and RLC filters.