Basically, VMs are IaaS i.e Infrastructure as a Service as because on a virtual machine you can able to manage what all operations are takes place also what software is installed in it. Whereas PaaS can helps you manage the software that is running in the cloud like app services.
I hope this help.
Want to know more about Azure? Watch this video on Azure Training | Azure Tutorial:
Want to become Azure expert? join azure certification now!!