Mozilla/5.0 is the general token that says the browser is Mozilla compatible, and is common to almost every browser today. The Compatibility flag ("compatible") is used by most modern browsers. It indicates that your browser is compatible with a common set of features.
However, this doesn't mean you're using a Mozilla browser or even Firefox. Most modern browsers identify themselves as Mozilla/5.0 (sometimes Mozilla/4.0).