Direct Object:
* What or Whom does the verb act upon?
* Example: "She became a dancer." Here, "dancer" is the direct object because it receives the action of "became."
Indirect Object:
* To whom or for whom is the action done?
* Example: "He gave the dancer a rose." Here, "dancer" is the indirect object because the rose is given to the dancer.
Predicate Nominative:
* Renames the subject.
* Example: "My sister is a dancer." Here, "dancer" renames the subject "sister."
To figure out the function of "dancer" in a sentence, you need to look at the complete sentence and its structure.