system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Why is slavery a thing?

The Star Wars Universe has really amazing robotics technology. 

Typical Star Wars droids can do almost every task a living slave would be doing.

But Droids can work without any breaks and just need to get the occasional repair. They are also pretty widespread, so I dont think that droids are actually that expensive. 

Slaves need to be fed, guarded, motivated AND having slaves is bad for your immage.

So not from an ethical standpoint, just from an angle of practicability having slaves is dumb.

The only reason for Slavery in that universe I could see is "for entertainment purposes".

Why then is Slavery so widespread?
gpt
Simply, you don't have to choose between droids and slaves.

Take the modern day. Making a machine that puts things together on a conveyer belt is one of theeasiest thing to do in robotics. And we do that, a lot of things are automated

But we still have sweatshops.

 Biological life is cheaper to obtain, effort to replace, requires no expensive components or resources beyond just food and water, are *far* more numerous and are less bad if something goes wrong.

There's advantages and disadvantages to both. If you don't care about ethics, you do what modern companies do- use both.