Zip files work in a similar way, except the contents inside the “folder” (zip file) are compressed to reduce storage use. You drop contents into a folder to organize your files, and then you can transport that folder to any location on your computer, and the files inside of it go with it. Think of the way a folder works in Windows.