What does a computer hard drive do?

A computer's hard drive is a permanent data storage device. It serves as a place to save files, programs, and the computer's operating system. It also allows you to get on Xbox Live.
A hard drive's main function is to store all of the files on a computer. It is also where the computer's operating system, such as Windows, MacOS, or Linux is loaded.