One of the functions of the T-Cells in the immune system is to attack and destroy infected cells. Target cells are cells that have been attacked by a virus. When the target cells have been taken over by a virus and they do not have a good chance of surviving, they trigger their own death. This action reduces the chance that other nearby cells will become infected.
This challenging tutorial addresses the concept at a high level of complexity.