Identify the italicized word as gerund or participle
the dog, trained to do tricks,entertained the children for an hour ------------------