求人帮忙分析句子成分,后面that引导的什么从句,修饰什么的,to后面是状语从句吗?

问题描述:

求人帮忙分析句子成分,后面that引导的什么从句,修饰什么的,to后面是状语从句吗?
investigated its relationships with the size of the population to infer the type of density- dependent habitat selection that the population is experiencing

是定语从句,修饰selection,先行词在定语从句中作experiencing的宾语.
to infer...是动词不定式短语,作状语,表示目的.那是不是 TO INFER 后面就是定语了?是infer的宾语就是动词不定式引导的从句中的宾语吧?