Cordova became very popular because of it work on multiple platforms with single code base.
Cordova provides lots of plugins using which we can access native mobile functionalities like Camera, Storage, Contacts, etc. With command line interface we can add multiple platform for our application as well as plugins.
We can also build & run our application in it. In visual studio provides all of the functionality provided by command line as well as debugging. Visual studio hide all of the complexity.