Why is there a disturbance on TV when we operate an electrical switch?

When an electrical switch is operated it produces a spark at the contact point. This spark emits electromagnetic radiation. Since radio and TV signals are also electromagnetic in nature, the bursts of electromagnetic radiation produced by a spark is also received by the radio or TV set. This produces the disturbance which is heard as crackling sounds on the radio and snowy lines on the TV picture.