THG interview question

What is the difference between set and map?