As has been said, solicitors and barristers are both lawyers, as are legal executives and notaries public.
Solicitors don't wear wigs. Barristers do in some, but not all, court proceedings.
There are certainly plenty of members of the Bar who look down upon solicitors (and who regard themselves as being above them) but their roles theoretically operate in parallel. See the job descriptions here for further information:
https://nextstep.dire...67/Pages/default.aspx
https://nextstep.dire...25/Pages/default.aspx
The majority of barristers are self-employed which means that many people who start the training fail to enter the profession simply because they haven't got the cash flow to allow them to work for many months without receiving any income. Law graduates seeking a more secure job generally opt to become solicitors.
Chris