It's a text editor. And a whole lot more. it's very extendable, and can be programmed to do almost anything. It works on virtually any system, including Unix, Linux, DOS, Windows, Mac, and more. It's probably the most powerful and customizable text editor around. Google "emacs tips" or "emacs tricks" for lots more info.
It's also free and open source.