Engine lubricant

Whats the scoop on oil? I have a new vehicle and plan on driving it for many years.Is synthetic oil worth the higher price to stop sludge buildup,or is it just a waste of money?