Question: is miktex same as latex?
Answer: MikTeX includes, among many other things, the actual latex program. It is a standalone piece of software that you can use either from command line or from a graphical interface such as TeXWorks (which is also included in MikTeX).