Macrophages are a type of white blood cell that play a critical role in the body's immune system. They are derived from monocytes, a type of leukocyte, and are found in virtually all tissues. Their primary function is to detect, engulf, and destroy pathogens and apoptotic cells. This process is known as phagocytosis.