Habitat is a type of Environment. Environment is related to Pollution. you are likely to find Pollution in/at/on Outside. Outside is the opposite of Room. 
Component is related to Wood. 
Habitat --IsA--> Environment <--RelatedTo--> Pollution --AtLocation--> Outside <--Antonym--> Room 
Component <--RelatedTo--> Wood 