To cook or prepare food
When to use
Cooking food, Describing cooking process, Mentioning cooking as a hobby
The nuance
Used only for the act of cooking or preparing food directly.
요리하다 (yo-ri-ha-da, yorihada) · 해주다 (hae-ju-da, haejuda)
'요리하다' means to cook food, while '해주다' means to do something for someone else.

One lane per word — no nested boxes, just the gist.
To cook or prepare food
When to use
Cooking food, Describing cooking process, Mentioning cooking as a hobby
The nuance
Used only for the act of cooking or preparing food directly.
To do something for someone else
When to use
Providing help, Kind actions, Responding to requests
The nuance
Used when providing help or doing an action for someone else; not limited to food.
엄마가 저녁을 요리했어요.
eom-ma-ga jeo-nyeok-eul yo-ri-haess-eo-yo., eom ma ga jeo nyeok eul yo ri haess eo yo.
Appropriate because it describes directly cooking food.
엄마가 저녁을 해줬어요.
eom-ma-ga jeo-nyeok-eul hae-jwoss-eo-yo., eom ma ga jeo nyeok eul hae jwoss eo yo.
Natural because it implies mom cooked and did it for me.
친구가 저녁을 요리해줬어요.
chin-gu-ga jeo-nyeok-eul yo-ri-hae-jwoss-eo-yo., chin gu ga jeo nyeok eul yo ri hae jwoss eo yo.
Means friend cooked and did it for me, so correct.
친구가 저녁을 요리했어요.
chin-gu-ga jeo-nyeok-eul yo-ri-haess-eo-yo., chin gu ga jeo nyeok eul yo ri haess eo yo.
Correct when simply stating friend cooked dinner.
나는 친구에게 숙제를 요리해줬어요.
na-neun chin-gu-e-ge suk-je-reul yo-ri-hae-jwoss-eo-yo., na neun chin gu e ge suk je reul yo ri hae jwoss eo yo.
'요리하다' applies only to food, so cannot be used with homework; use '해주다' instead.
나는 친구에게 숙제를 해줬어요.
na-neun chin-gu-e-ge suk-je-reul hae-jwoss-eo-yo., na neun chin gu e ge suk je reul hae jwoss eo yo.
Natural meaning that you did homework for your friend.
나는 친구에게 음식을 해줬어요.
na-neun chin-gu-e-ge eum-sik-eul hae-jwoss-eo-yo., na neun chin gu e ge eum sik eul hae jwoss eo yo.
Natural meaning you cooked and gave food to friend.
나는 친구에게 음식을 요리해줬어요.
na-neun chin-gu-e-ge eum-sik-eul yo-ri-hae-jwoss-eo-yo., na neun chin gu e ge eum sik eul yo ri hae jwoss eo yo.
Natural meaning you cooked food for your friend.
Which expression is correct when a friend cooked food for you?
Which sentence cannot use '요리하다'?
Which expression is appropriate when doing something for someone else?