Neutral safety switch prevents the car from being started in any gear but neutral or park. Unless the switch is activated, the starting circuit isn't complete, and your car will refuse to start.
Neutral safety switch prevents the engine from starting when not in park or neutral. This eliminates the risk of starting an automatic car in drive or reverse mode.