How is receptor-mediated endocytosis different from phagocytosis?

How is receptor-mediated endocytosis different from phagocytosis?