Adoption is not buying or selling a pet, just like adoption of a human is not buying or selling.
Rescuing a pet from a shelter, while paying for medical expenses or even rescue expenses, is not buying/selling.
Buying a pet from a pet store or mill is buying/selling.
It's important to distinguish adoption of an orphan pet/human (where the only payment is for care expenses) to adoption of a pet/human that was created/capture expressly for sale.
Breeding is a hazy middle ground, which I suppose is what you first had in mind with "adoption"