Amazon interview question

What is the difference between a set and a list.