bought a book for meThe 〜てくれた pattern indicates that someone did something as a favor for the speaker or someone in the speaker's in-group. 本を means “a book,” 買って means “buying,” and くれた indicates that the action benefited the speaker. The expression is informal; the polite equivalent is 本を買ってくれました.