Both types of professionals practice law in Great Britain, but their roles are different.
A barrister represents clients in open court and may appear at the bar.
A solicitor is allowed to conduct litigation in court but, with only a few exceptions, not to plead cases in open court.
In practice, most plaintiffs and defendants deal with solicitors, not barristers.