This
https://en.wikipedia.org/wiki/Shechita#Forbidden_techniques see drasah. The details of drasah is not elaborated there, it is too broad a topic.
And you are correct, one reason is to make the slaughter as painless to the animal as possible.
(On the aside the slaughter necessitates cutting...