Understanding MySQL replication coordinates
Basic MySQL replication (as implemented in MySQL 5.5) conceptually is very simple - master server use binlog dump thread to write data changes (row based, statement based or mixed depending on settings) into binary log and slave use I/O thread to copy statements from binay log into relay log. Another slave thread - SQL thread - reads data from relay log and applies them (so that changes made in master server would appear in slave server too). This basic MySQL replication design is shown in picture bellow.
gilbertas matusevičius