Another way to say "a nerve is used for sensing pain" is "Nerves can sense pain."