Nの ために、V
Nouns(e.g., people and things) are also used with ために. Nのために means "for N's benefit".
何のために、コンピュータを買いましたか。 For what purpose did you buy the computer?
病気の友だちのために、買い物に行きます。 I am going shopping for a friend who is sick.