Racism assigns moral and intellectual qualities based on biological characteristics like skin color or skull shape, creating a hierarchy of superior and inferior races. Racist theories were used to justify exploitation and enslavement of African people. In the 18th century, scientific racism emerged where humans were classified into races based mainly on skin pigmentation, relating physical traits to negative moral and behavioral attributes depending on the race.