My bad. A library is a database and collection of photos all sewn up in a neat little package with the extension .photoslibrary
You normally don't see this because most people only have one and the extension hidden.
Inside each library if you inspect the contents is this:
If you want to experiment and create another photos library just close Photos.app and then hold down Option while you double cli