The function of macrophages in the immune response.