NOCs can be formed endogenously in the human body through the reaction of nitrites and amines, which are common in the human diet. They can also be produced through the curing process in meats, where nitrites are used as preservatives. Additionally, environmental exposure from sources such as tobacco smoke and industrial emissions can contribute to NOC formation.