There are multiple definitions - click on the translation that matches your context.

comprar

verbo

full

buy

verb

Definitions of buy

English

to get something by paying money for it

Don't buy on impulse.

English

to pay money to someone in a position of influence or authority to get them to do something dishonest

He tried to buy a judge.