How does an mRNA vaccine work?

The COVID-19 vaccines are mRNA vaccines. This is a new type of vaccine in human history and they can be developed more quickly than other vaccines. Are you curious how they work?