Foods like chili peppers activate nerve fibers directly giving the sensation of "hot". Many parts of the body with exposed membranes but no taste sensors (such as the nasal cavity, under the fingernails, surface of the eye (cornea) or a wound) produce a similar sensation of heat when exposed to such chemicals.