The ways in which race and ethnicity shape social relationships and societal arrangements within a given society.