Please Help!! I will give brainliest!

In what ways did Socialists attempt to challenge capitalism in the nineteenth and early twentieth centuries?