A barrister is "a type of lawyer in the UK , Australia, and some other countries who can give specialized legal advice and can argue a case in both higher and lower courts."
A solicitor is "a type of lawyer in Britain and Australia who is trained to prepare cases and give advice on legal subjects and can represent people in lower courts."
Source: Cambridge Dictionary