Jim taught John rhetoric to become a lawyer, but he did not get paid.

Who is "he" in this prior sentence?
Jim
A person is more productive on an IDE than a text editor, therefore it should be used in general practice.

Who is "it" in this prior sentence?
an IDE
Henry changed Jack's oil, because he gave him money.

Who is "he" in this prior sentence?
Jack