Breastfeeding or pumping? Is there a difference?

Lylah ✨ • 19yrs / mother to a beautiful baby girl named Olivia 💕 2.7.18 👶🏻

I haven't had my baby yet, but I was planning on using a pump instead of directly breastfeeding her. When I mentioned that, some people disagreed and said that breastfeeding naturally is better for the baby. I always thought that either way, the baby is getting my breast milk which I know is better than formula. So is there really a difference? Does a pump filter out some of the nutrients so it's not as healthy, or are there any risks in using a pump??

Sorry everyone, totally clueless first-time mommy here 🤗