West African farmers needed slaves because

they needed a source of labor to work in their fields and help them cultivate crops such as cotton, sugar, and tobacco. Slaves were also used in mining operations and as domestic workers. The demand for slaves in West Africa increased with the growth of the transatlantic slave trade, as European and American colonies demanded more laborers for their plantations and industries. This led to the capture and sale of millions of Africans into slavery.