A file with a DOC extension is most commonly a Microsoft Word document file. DOC is probably a Word 2003 (or earlier) file as Office 2007 defaults to .docx.
TXT files are plain text files. They are very basic documents with minimal formatting. They can be opened and edited with notepad, wordpad, or any other word processor application.