The hard drive (or disk drive) and RAM both provide memory to store data. The disk drive stores all your computer’s memory for the long term. RAM only holds the data your apps need when they’re open. RAM is faster but has less capacity than the hard drive.