Karl Marx viewed society as an arena of constant struggle between social classes. He developed theories of historical materialism and dialectical materialism to analyze how economic conditions shape social relations and consciousness. Marx believed that changes in the mode of production, driven by technological advances, lead to conflicts between emerging and declining social classes that ultimately result in revolution and the establishment of new social and economic systems.