Complex sentence: They are selective of what types of ants and termites they target because some of their would-be prey secrete repulsive liquids, and they have a preference for the eggs, pupae and winged phases of the insects.
Split into simpler sentences: They are selective of what types of ants and termites they target because some of their would-be prey secrete repulsive liquids. They also have a preference for the eggs, pupae and winged phases of the insects.