a nerve is used for sensing pain