A dog is competing in an agility trial.