You may remember the story of the first group of Black people who were brought to America in 1619. More Black people arrived as slaves and they worked in the fields of cotton, or tobacco or sugar.
This system had a name: the slave-trade. Black slaves sometimes were separated from their family, because they were sold like animals. They were not very happy, they were sad (=they "had the blues").