The library is an interface which allows to manage and store a document which can be created using Word, Excel, or PowerPoint.
On the other hand, the list is the representation of the item in a tabular format using column and rows. It can be attached with documents.