How does a relay work ?
A relay is an electromagnetic device, within wich an electro magnet (sometimes called a motor) is fixtured to cause controlled movement either by magnetic attraction or magnetic repulsion. Other hardware attached to the moving magnetic portion of the motor such as relay contacts will cause switching of electrical circuits.