Who pays which closing costs varies in different parts of the country. In today's buyer's market, sellers are paying more closing costs. This is negotiable.
Generally the purchaser pays most of the closing costs, but the seller can offer some money toward closing, it depends on what is agreed to in the sales contract.