Classification technique can be applied on a problem where you want to categorize the input data into a number of classes.
For this purpose you should have labelled the training data with the available classes.
Please have a look at wikipedia for basic explanation of classification. There are a number of classification algorithms that one can use, with each one being suitable in specific aspects of the problem.