EnergyHub interview question

What is the difference between a list and a set?