There are different variables that we use in the regression.

The following image is from http://www.info.univ-angers.fr/~gh/Predipath/classification.php

Image result for nominal ordinal categorical data in regression