Buying a home will probably be the largest and most significant purchase you will make in your life. It also involves the law of real property, which is unique and raises special issues of practice, and problems not present in other transactions. A real estate lawyer is trained to deal with these problems and has the most experience to deal with them. Some states certify lawyers as "Real Property Specialists" as a result.
In the typical home purchase, the seller enters into a brokerage contract with a real estate agent, usually in writing. When the broker finds a potential buyer, negotiations are conducted through the broker, who most often acts as an intermediary. Once an informal agreement is reached, buyer and seller enter into a formal written contract for the sale, the purchase agreement. The buyer then obtains a commitment for financing. Title is searched to satisfy the lender and the buyer. Finally, the property is transferred from the seller to the buyer, and the seller receives the purchase price bargained for in the contract. This seems simple, but without a lawyer, the consequences may be more disastrous than purchasing a car that turns out to be a lemon, or a stock investment that was unwise.
A lawyer can help you avoid some common problems with a home purchase or sale. For example, a seller may sign a brokerage agreement that does not deal with a number of legal problems. This happens quite often; realtors often use standard forms, expecting that they will cover all circumstances or will be easily customizable for unusual circumstances.