both are varnish
One is polyurethane varnish and the other I assume you are talking about oil base or "Spar" vranish. Poly is harder, a synthetic which chemically sets and hardens, while oil base is organic, usually linseed oil, and as Patrick explained, dries when the solvent spirits evaporate leaving the oil base protectant.