Which words in the sentence are the complete gerund phrase?

The ancient Egyptians avoided killing any sacred animals.

A.killing any

B.avoided killing

C.sacred animals

D.killing any sacred animals