The virtual HW versions usually provide new features, and may be required for security reasons.
Other than this, you don't necessarily upgrade your VMs' HW versions. New ESXi versions support older HW versions.
For a list of these versions, and the product versions for which they were introduced, please see https://kb.vmware.com/s/article/1003746
André