Replication allows copying data from one MySQL database server to another. It works by logging all SQL statements on the master server and playing them back on the slave server. Logical replication copies the data changes and allows asynchronous replication with potential delays. Configuring replication involves setting up a slave server to copy and replay the binary logs from the master server.