For yum/dnf - What is the difference/relation between `update` and `upgrade`?

For yum/dnf - What is the difference/relation between update and upgrade?

When is mandatory use one approach over the other?