Students should know that these nerve endings have channels for positively charged ions, which open in response to a stimulus such as high temperature, acid, or certain chemicals such as capsaicin in chilli peppers. Entry of positively charged ions causes the threshold potential to be reached and nerve impulses then pass through the neurons to the brain, where pain is perceived.