You can freeze it with a ice cube and then scrape it off with a putty knife.
Mineral spirits.
WD-40 will remove pine sap from a car's finish without causing damage to the car.
There are good and bad bacteria in the sap of trees from the forest floor. The bad bacteria in sap will cause the tree sap to be foul smelling, or dry sap will appear grey.
with metho
There are several things one can use to remove tree sap from clothing. A few things are WD40, peanut butter, or Goof Off.
Usually a little mineral spirits can pull most tree sap off without causing damage to most finishes. If the floor is sealed with varathane or other newer sealers it won't cause any problem, but if it's a much older floor using old style varnish, it may soften the varnish slightly and you should give it a day before you walk on it.
WD-40 works well
Pitch is the sap of Pine trees and is very hard to remove from skin and clothes. Sap is a general term for all tree liquids as in Maple syrup.
Blot the area of sap with rubbing alcohol and wipe clean with a dry cloth or towel.
Nail polish will remove sap from glass, but do not try it on a painted surface! Also, be sure not to drip any polish remover on the car finish - it may remove it, too. If you can get it at a hardware store or art store, turpentine will remove sap, and is much safer if you drip it on painted surfaces.
Rub the sap with a course cloth dipped in paint thinner. The paint thinner will disolve the sap and the course cloth will provide an abrasive force to remove the residue. Be especially careful when removing sap from cutting edges, like an ax or saw blade. Sometimes you need to rub rather hard to remove the sap. If your fingers slip near the edge of the blade, you could get a rather nasty cut.
Dry cleaning by itself will remove some of the sap. The remaining sap needs to have additional spotting agents applied to assure complete removal and then be dry cleaned again. A quality cleaners with a good spot removal technician should be able to remove it all.