D.to protect 为正确选项.
本句中,I thought of 只是插入语,原来的句子应是“The way to protect the animal was of great value”,插入语不影响原来句子的结构.