Part Numbers, Document Numbers & Filenames in PDM Standard

The default card templates and variables often include both NUMBER (I guess this means Part/Assy Number) and DOCUMENT NUMBER.

What is the difference, and how are they used and managed?

Thanks for your advice

SolidworksSolidworks Pdm enterprise Pdm