Complex sentence: There is some animosity between the groups, occasionally working together to serve their own ambitions.
Split into simpler sentences: There is some animosity between the member groups. They occasionally work together to serve their own ambitions.