A foil stamping is usually used for printing company logo or a pattern to embrace the image of the packaging. The most common foil stamping is done on jewelry box which makes the logo appear as metal like.
In the 19th century, hot stamping became a popular method of applying gold tooling or embossing in book printing. The first patent for hot stamping was recorded in Germany by Ernst Oeser in 1892. Originally used on leather and paper, the method became a popular means of marking plastic from the 1950s on. It is also one of the most commonly used methods of security printing. According to Wikipedia-Hot Stamping.