What is the difference between SSD and HDD

What is the difference between SSD and HDD