LaTeX is a document markup language and document preparation system, widely used in the sciences, particularly math, computer science and chemistry. BibTeX is a complementary reference markup language designed to be used with LaTeX for managing and displaying citations.