RNA vaccines work by delivering the mRNA sequence that encodes a viral protein, usually a spike protein found on the surface of the virus. Once injected into the body, the mRNA enters cells and uses the cellular machinery to produce the viral protein. This protein is then displayed on the cell surface, where it is recognized by the immune system, prompting the production of antibodies and activating T-cells to fight off the actual virus if encountered in the future.