The socialist mode of production, also known as socialism, is a specific historical phase of base and superstructural development and its corresponding set of social relations that emerge from capitalism in the schema of historical materialism within Marxist theory. Communist states that claimed to have established socialist material relations claimed to have established socialist states.
The Marxist definition of socialism is that of production for use-value (i.e., abolition of commodity production, direct satisfaction of human needs, or economic demands), therefore the law of value no longer directs economic activity. Marxist production for use is coordinated through conscious economic planning. According to Marx, distribution of products is based on the principle of "to each according to his needs"; Soviet models often distributed products based on the principle of "to each according to his contribution". Marx characterized the social relations of communism, the first stage of which is now called socialism, by the abolition of class distinctions and the common ownership of the means of production. As classes are abolished, the state withers away. Later self-titled communist states revised this definition of socialism and used the term more loosely as a rough equivalent to the dictatorship of the proletariat.