What is the difference between a hard drive and an SSD?

A traditional hard drive uses moving parts to store data, while an SSD uses flash memory. SSDs are generally faster, smaller and more durable, but they can be more expensive per terabyte.