Pergunta de entrevista da empresa Black & Veatch

What is the difference between a capacitor and an inductor?