It's an interesting word that starts off more than 500 years ago as a noun: a fur blanket that is placed on a horse so that a companion can ride behind the saddle
But in the sentence..
- Many women do not like to ride pillion.
.. it has become an adverb: it is modifying the verb "ride"