On a MySQL replica, the relay log stores binary log events received from the primary but not yet applied. The SQL thread reads and applies relay log events to the replica’s data.