sansa m25 USB cable

In the middle of the USB connecting cord there is a small cylinder shaped part.  What is this and is it necessary?

can I use any USB connecting cord or must it have this part on it?

 Thank you,

Pastor Radacheck of the Anabaptist church.

It is a magnet.  Is it totally necessary?  No.  It is suppose to make the signal cleaner.