For the answer to the question above asking which type of phrase or clause is underlined in the sentence?
The answer is to the animal's habitat, which was underlined, is a noun phrase.
I hope my answer helped you. Feel free to ask more questions. Have a nice day!