A man is training a dog using treats as a reward.