Here's why:
* Simple subject: The main noun or pronoun that performs the action of the verb.
* Verb: The action word, which in this case is "danced".
The sentence is grammatically incorrect, but we can assume it means "The pet bear danced in the forest."