What is the basic difference between a maṣdar and a derived noun?

Six Derived Noun Types: Active/Passive Participles, Comparison, Instrument, Place/Time, and Ṣifah Mushabbahah