Choice of algorithms

This is a general question on the choice of algorithms. Does anyone know why we try to use regression algorithms to do classification, binary algorithms to do multiclass classifications? Why decided the choice of algorithms used for a particular ML problem that is given?