What is the difference between a solicitor and a lawyer?

I think they basically do the same thing, handle legal matters