Assuming you have vCenter Server, a couple of hosts and shared storage. Upgrading vCenter Server doesn't affect the VMs, however upgrading an ESXi host requires that no VMs are running on that host. With vMotion/DRS in place, you can live migrate the VMs to other hosts during the upgrade.
André