If you have created your own circuit which run from a microcontroller. You want to control your appliances, motor or any AC load. You probably notice some issue regarding a relay when you control the AC load.
When there is no load in the relay, the circuit runs fine. Now what if we put some load in the relay like a motor. You might notice that the circuit has some issue like it will reset itself or some abnormalities from the circuit.
This where the RC snubber is very important, you just put a RC snubber to the output of the relay. Just what I did in my circuit.