The dog hunted the fox because it was hungry.

Who is it referring to in this sentence?
The dog