What is a registry ?

Sorry I just got pregnant & have a lot of learn about .. what is a registry ? I know it has something to do with people giving you gifts I think like whichever things you need but does that like cost money to create one at like target ? Can you do multiple registries for the free things or is that not allowed ?