question: Phagocytosis first evolved as means of doing what?
sentence: Phagocytosis evolved as a means of acquiring nutrients, but this role was extended in phagocytes to include engulfment of pathogens as a defense mechanism.