Replication is the method of synchronizing data across multiple servers. Replication provides redundancy and availability. A replica set in MongoDB server is a group of mongod processes in multiple DB servers that maintain the same data set, Multiple copies of data on different database servers.