Who pays capital gains tax

Anyone who sells a taxable asset at a profit, including investors, business owners, and home sellers.