What is the purpose of SSD?

I've seen many PC building videos on youtube and almost all of them install something looks similar to an HDD, but they refer to it "SSD", what is it for and is it really necessary?
Update: EDIT: thanks everyone for the answers, I'm looking to build a gaming PC, should I buy an SSD?
6 answers 6