The main ingredient in snot is mucus that is produced by your body. The mucus acts to trap foreign debris like allergens, bacteria, and dust, to prevent it from going into your body. This is what you sneeze out, or blow into a tissue.
1 Additional Answer
Snot is a naturally occuring substance that is made naturally by the human body. It actually is made in the sinuses and is also known as mucus.