Lists are used to store data in sequence. These are the widely used collections which can store primitives, user-defined objects, sObjects, Apex Objects or other collections.
There are 2 main properties of lists:
- It stores data in sequential order.
- The data which it stores is non-unique or can be duplicated.
Hence use a list when the sequence of elements is important and where the uniqueness of the elements is not important.