Well in terms of buy and sell, both services provide bitcoin/US dollar exchange services, but they differ in their style. Coinbase users buy and sell bitcoins directly from the company. They publish their bid and ask prices on their service and users can go to the buy/sell page to enter their orders. In the case of Bitstamp the company acts as an exchange where users buy and sell between themselves at the best prices offered on the system.