That's close but not quite accurate. The m(essage)RNA enters the cells and is consumed. The message instructs these cell to produce a spike protein which the body then attack and store in memory and produces antibodues for future attacks.
Now assuming the particular variant of Covid that...