IDE is a software application, it provide a "ready-to-go" facility for programmers. Most programming languages have IDEs. It comes and not limited to - specific programming language text-editor, debugger, build automation tools...

IDE or text editor? It depend on what you are building. When using a text editor, you have to use the terminal ( more on this, on later posts ) as your debugger or the browser tools. IDE comes with a build-in text editor ( source code editor )... so one reason to compare the two, would be based on what your building.

I use IDE for mobile applications and text editor for web applications. I'll demonstrate the use of an IDE and a text editor, you will choose what works for you.