Pronouns can be ambiguous.
In the examples below, the referent for the word "she" is context dependent. "She" can refer to Mary or to some other woman.
Mary knows she is the best person for the job.