The MMR vaccine is used to protect children against measles, mumps and rubella.

Explain, as fully as you can, how the MMR vaccine protects children from these diseases.