What is stored in the /root directory?
/root is the home directory of the root (superuser) account — root's equivalent of a user's /home/name folder.
It holds exactly what any home directory holds, but for the administrator: root's dotfiles, command history, and admin scripts. Only root can read or write it.
The interesting question is why it sits at the top level instead of inside /home. The answer is availability during disaster recovery. /home is frequently a separate partition or network mount that might fail to come up. If root's home lived there, an admin trying to fix the unmounted /home would have no working home directory, no shell config, nothing. Keeping /root on the root partition (/) guarantees the administrator can always log in and work, even when everything else is broken — which is precisely when you most need root.
Common confusion — three different "roots":
/— the root directory, top of the whole filesystem.root— the superuser account./root— that account's home directory.
They all share the word but mean different things; mixing them up is a classic beginner trap.