White blood cells. The main task of the leukocytes is to defend against pathogens. The term leukocytes encompasses many different cell types (granulocytes, lymphocytes and monocytes). They are formed in the red bone marrow of the long tubular bones and in the lymphatic system.