What is the definition of nicotine substitute?

A product that contains nicotine, but not the other harmful chemicals found in tobacco
It also can be a prescription medication