An antigen is any substance that causes your immune system to produce antibodies against it. This happens when your immune system does not recognize the substance and is generating a specific response to it.

The nucleocapsid (N) protein of SARS-CoV-2 is an antigen, as is the S protein.