Using the terminal, what is the difference between these two commands?

sudo apt-get update
sudo apt-get upgrade