PLS answer

How do vaccines generally work?

What is the difference between traditional vaccines and mRNA vaccines?