A worker executes any code it receives from the master. Clients can send tasks to the master.