What are the benefits of using a real estate agent versus listing the property yourself?

What does an agent do that you can't do yourself