Dog training is the application of behavior analysis which uses the environmental events of antecedents and consequences to modify the behavior of a dog, either for it to assist in specific activities or undertake particular tasks, or for it to participate effectively in contemporary domestic life.