What is an emulator and why is it important?

An emulator is a program through which you can run android on device like your computer. Developers use it to create an environment where they can test, edit, and debug the application without risking the real device and users.