A part of the immune response that involves the recruitment of immune cells to a site of infection or injury.