Yum check-update

Is this the sudo yum check-update right command to find whether any updates are available for my installed packages on Red Hat Enterprise Linux server 7 or CentOS Linux 7 desktop. All I see yum returns a list of all package updates from all repositories. How do I force them to install?

I figured it out. I am such stupid boi. I just need to run update command after getting list. I was confused and I thought check-update will update it too

sudo yum update