What is the purpose of formatting?

Thanks for responding.  I currently don’t have any DRM songs on my player (or did before I formatted it), but might get some in the future.  I have no clue about MSC and MTP; I don’t even know what they stand for.