The only reason why I've written this post because I've seen many people get confused with compiler languages and interpreter languages. Hope this helps for basic understanding.
Compiler:
Interpreter: