LaTeX is a software for typesetting documents often used by scientists and engineers as it can handle complex mathematical formulae and produce high-quality output.

You can manage your references and bibliography in LaTex using the BibTex system. BibTex is a bibliographic tool that is used with LaTeX to help organise your references and create a bibliography.  You use BibTex to generate and format a bibliography in separate BibTeX (.bib) files. You can get detailed help on using BibTex from LaTex or this Wikibook.

It is possible to create BibTeX files automatically by exporting references from reference management software such as Mendeley or Zotero.