Of Latin and/or Greek origin.
As a masculine name derives from the word “pine”, used to describe the conifer tree of the Pinus genus, commonly known as the pine tree.
From the Latin word “pīnus” of the same meaning.
Pine is rarely used as a feminine name. When so, it’s a German form of the name Philipinne, from the name Philippa.