The purposes of government will depend on the type of government - a medieval monarchy government may have different purposes from a modern democratic government.
In general, a government will provide security both internal law and order among its citizens and protection from external threats. It will take on municipal services for its citizens. It will provide a stable living environment and ensure continuation of the government itself.
Because the only way (back then) to process and make sugar farms was through manual labor. Since the Americans didn't want to put effort onto their own sugar farms, Africans were forced to do the labor part for them.
It would help them get supplies faster and more efficiently. They could also carry more supplies and people in train cars to get soldiers to their destinations. Explanation: