A group of cells that help the body defend itself against disease by remembering prior exposure to specific organisms such as viruses and bacteria. Consequently, these cells are able to respond quickly when these organisms repeatedly threaten the body.