What is the function of myelin?

Myelin is the material that covers the spinal cord. It protects the cord from damage. If the myelin wears away, then a person is said to have Multiple Sclerosis.