What does the "cd" command do?

The "cd" command changes directory.

Relative or absolute directory can be provided as an argument

cd /var/tmp

When no directory is specified, the user's home directory is used as the default command (often /home/username)

cd

Additional information can be found by passing the "-h" argument

cd -h