The Yum tool uses online repositories from the internet to install, update and remove software packages under Linux systems. It is the default package manager tool for CentOS Linux and you must be connected to internet in order to install and update packages, without internet connection yum command is not going to work.