“An itch,” one of my doctors once told me, “Is a low-grade pain.”
It’s an irritation caused by something firing off one of your pain sensors, and it’s telling you to do something about it. The easiest thing to do is to scratch, which works if the source is something small that can be dislodged – an insect or a little piece of something stuck in your skin.