A brokerage company’s primary function is to act as a middleman that connects buyers and sellers to facilitate a transaction. It typically receives compensation by means of a commission—either a flat fee or a percentage of the amount of the transaction—once the transaction has successfully completed.