# What is the difference between regression and classification?

What is the difference between regression and classification, when we try to generate output for a training data set $$x$$?