A little confused

I see all these posts about people donating breast milk. That's wonderful and great that from one mama to another ladies can help each other out. However, I thought breast milk was kind of catered to your own babies needs? Would milk from someone else still be as nutritious for your baby?