⟩ Tell me what is the use of the diode in series to the coil in a relay?
A diode is often used in parallel with a relay coil to dissipate energy stored in coil inductance when the coil is disconnected from the electric circuit. It is also known as freewheeling diode.