The process begins with the design of mRNA that codes for a specific antigen, typically a protein found on the surface of a virus. When this mRNA is introduced into the body, it enters cells and serves as a template for the production of the viral protein. The immune system then recognizes this protein as foreign and mounts an immune response, preparing the body to fight the actual virus if it is later encountered.