What is the difference between a relay and an inductor?

I thought Inductors were used in RLC circuits, but now I see These box like things with 5 pins called 'relays' that are being used with a capacitor and a resistor for converting DC to AC.Please help.
3 answers 3