Karl Marx familiarized himself with the proles, or the working-class people, through a variety of means, including his personal experiences, his research, and his political activism.
Marx lived in London for several years, where he observed the living and working conditions of the working class firsthand. He visited factories, slums, and other working-class neighborhoods, and took extensive notes on the conditions he observed. He also read numerous reports, studies, and other documents related to the working class, including government statistics, factory inspector reports, and trade union publications.
In addition to his research and personal observations, Marx was also an active participant in radical political movements, including the Communist League and the International Workingmen's Association. Through his involvement in these movements, he had the opportunity to meet and work with workers from a variety of backgrounds and industries. He attended meetings, rallies, and other events where workers gathered to discuss their experiences, concerns, and demands.
Marx was particularly interested in the economic and social conditions of the working class, and he devoted much of his career to studying these issues. He developed a theory of surplus value, which argued that workers were exploited by capitalists who profited from their labor without fairly compensating them. He also wrote extensively about the struggles and conflicts between the working class and the capitalist class, and argued that the working class had the potential to overthrow the capitalist system and create a more equitable society.
Overall, Marx familiarized himself with the proles through a combination of his personal experiences, his research, and his political activism. Through these diverse avenues, he developed a deep understanding of the economic and social conditions of the working class, and used this understanding to inform his political and philosophical ideas.