You need to create a library instead of using a list. They are different. Libraries are used to store/manage files, but lists are a collection of data which work like spreadsheets.
Learn more: The difference between Lists and Libraries
Using a library, we can upload multiple files and folders.
Drag files and folderfolders.