Complex sentence: There were many good and bad things that came along with the production of sugar: it gave the countries money and provided them with slaves.
Split into simpler sentences: There were many good and bad things that came along with the production of sugar. Like it gave the countries money and provided them with slaves.