Unlike most other editors, emacs is a complete working environment; you can start emacs in the morning, work all day and night and never leave it. It can be used to compile programs; for interactive work with the UNIX shell; and so on. Before windowing systems like X became popular emacs often served as a complete windowing environment.