The dog ______ I loved dearly was hot by a truck last night.

The dog ______ I loved dearly was hot by a truck last night.

Explanation

Use "which" for animals or things in non-defining relative clauses.

In this sentence, "which I loved dearly" refers to the dog — making "which" the correct relative pronoun.