Complex sentence: It will nest and forage in wooded urban areas, but prefers native habitats where Koa trees dominate.
Split into simpler sentences: It will nest and forage in wooded urban areas. It prefers areas where Koa trees dominate.