What is the difference between absolute and relative xpaths? Which is preferred in Selenium automation testing?

Can anyone please guide me upon the diffence between relative and abolute xpaths and also tell me which is pefered in selenium automation testing.