Solicitor and Barrister

What is the difference between a solicitor and a barrister? A barrister is lawyer in the common-law system who specialises in litigation. A solicitor on the other hand, spends most of their time out of court.