Document Type In Sap

Document Type In Sap what is document type in sap explain the purpose sap