A dog competes in obedience trials.