EY Interview Question

Logistic Regression is used for classification but why it is called regression model?