Complex sentence: They prefer to nest in tree cavities near water but will use Wood Duck nesting boxes if available and unoccupied.
Split into simpler sentences: They prefer to nest in tree cavities near water. They will use Wood Duck nesting boxes if available and unoccupied.