Why does the tip of a wick of a lamp emit smoke with a certain smell

When the lamp is ignited, the wick of the lamp is soaked in oil. The wick which is made of cotton thread which has interstitial voids or empty space or gap in between matter in it, through which oil rises due to capillary action.

At the tip of the wick, due to the heat of the burning flame the oil vaporises and burns easily. One thing to be noted is that, a flame is produced only when a gas burns.

A burning liquid does not produce a definite and steady flame. It produces an unsteady and irregular flame unsuitable for illumination.

So the oil slowly burns by a cycle of gradual capillary suction, vaporisation and inflammation.

When the oil is exhausted or if the flame is put off, a smoke with certain smell is produced due to unburnt oil particles, soot and ash of the wick.

These particles are carried away with the combustion products, such as carbon dioxide and carbon monoxide and cause a characteristic smell.

The rest of the wick in contact with the oil does not get burnt out due to the simple reason that it has not attained its ignition temperature when it is still soaked in oil.