LaTeX is a typesetting markup language that transforms a plain text file into a formatted document based of various commands included in the file. The source file for the document has a file extension of .tex.
To automatically generate and format a bibliography in a LaTeX document, use the bibliographic tool BibTeX. The BibTex bibliography file has the extension of .bib and is separated from the LaTeX source file. However, rather than having to edit your BibTeX bibliographic entries manually, you can manage your references with RefWorks and then export references in BibTeX format.