You can think of your bladder as a light, and your brain as a switch. Your nerves are like the electric cable that connects the switch to the light and tells the light when to turn on. The electric cable is protected by a plastic coating, just like how myelin protects your nerves.
If the cable’s coating deteriorates, the light might not behave as expected when you flip the switch. This is like how MS can damage the myelin protecting your nerves and garble the signals between your brain and bladder, leading to bladder dysfunctions.1