How exactly is a business sold?

How is the selling price determined? Does the buyer take on the debt as well?
4 answers 4