Human: What is the difference between a PDF and a DOC file? Assistant: 
A PDF is a Portable Document Format, which is a digital file format that preserves the layout of text and graphics. A DOC file is a Microsoft Word document, which is an electronic version of a paper document. Both are widely used for sharing documents electronically.