Look at the diagram of an axon. It has this covering structure on them called myelin sheath. What is its function ?
Electrical insulation
Neurons are covered by myelin sheath to prevent the escape of impulse to the surrounding. This electrically insulating material/myelin sheath prevents the electrical impulses from jumping to other neurons. In short, they prevent short-circuiting of impulses.