Actually, this varies and, of course, everything is negotiable.
Typically, the buyer pays for: inspections, title insurance, appraisal, lender fees.
Typically, the sellers pays for: any negotiated repairs, conveyance taxes.
Buyer and seller each pay for their own attorneys.
Seller usually pays for the real estate agent commissions, but this is also partly determined by the Buyer Broker Agreement the buyer signs with their agent.