She bought her daughter a computer.

Literal

She [topic-は] daughter [to-に] personal-computer [object-を] bought gave.

娘に marks the recipient with に (indirect object). The benefactive てやる is used when doing something for someone of lower status, such as a parent helping a child.