t immune mechanism