Original: It prefers dry, open or semi-open habitats, but also occurs in forest.
Simplified: It likes dry, open or partly-open habitats, but also lives in forests.