WHAT IS THE DIFFERENCE?

What the heck is the difference between polyurethane, varathane and varnish? I heard that some of theses product yellow after some time or exposed to sun but I can never understand which is which and what circumstances to use any of these.