What is the difference between a sidereal year and a synodic year?

A sidereal year is measured based on the planet's position in space relative to the background stars. A synodic year is measured based on the planet's position relative to the star it rotates around (i.e. the sun) Here's an image that is pretty helpful in visualizing.