Why was it important to create a slavery based on race?

Why was it important to create a slavery based on race?