That's right Farhan. VS is an IDE like Android Studio and Eclipse and many others which enables you to write, debug and publish your programs easily without involving you with low-level mechanisms.
Android studio is used specifically to create apps for your android devices. But VS is a multipurpose environment and many other IDE's (like Unity and UE4) plug their coding/scripting terminals to VS. In addition to that, you can absolutely make your stand alone apps for different platforms using VS.