Org mode is a major mode for GNU Emacs. Quoting the homepage:
Org mode is for keeping notes, maintaining to-do lists, planning projects, authoring documents, computational notebooks, literate programming and more — in a fast and effective plain text system.