These cells consume bacteria and other pathogens to protect the body from infection. The process begins when chemicals from a pathogen, or damaged tissue, attract a phagocyte. The phagocyte binds to the microbe, envelopes it, and then eats it.
The symbiotic relationship would be commensalism. It’s when one organism benefits and the other organism neither benefits nor is harmed.