Exchanges match buyers with sellers so when you want to buy BAT, you indirectly buy them from another person who uses the same exchange as you. The exchange will take a small fee for facilitating the transactions.