What is the difference between ans Esq., Gent. & Yeoman?

What is the difference between ans Esq., Gent. & Yeoman?

I have seen all three used after names both in my family and in general. I know that they probably have something to do with land owenership but not sure. Can anyone explain to me the difference and could someone go from one distinction to another during their lifetime.