The first states that the nature of the economic structure is explained by the level of development of the productive forces, and the second that the nature of the superstructure — the political and legal institutions of society— is explained by the nature of the economic structure. The nature of a society’s ideology, which is to say the religious, artistic, moral and philosophical beliefs contained within society, is also explained in terms of its economic structure. That is to say, juridical institutions are part of the superstructure, and ideas of justice are ideological, and the role of both the superstructure and ideology, in the functionalist reading of historical materialism adopted here, is to stabilize the economic structure. Consequently, to state that something is just under capitalism is simply a judgment applied to those elements of the system that will tend to have the effect of advancing capitalism. According to Marx, in any society the ruling ideas are those of the ruling class; the core of the theory of ideology.
From this perspective, law can be shaped up by ideology but several ideologies may be attempted for mastering the legality; there does not exist an important connection between the ideologies particularly and the law. There is no compromise that is understood by law as law is an ideology that can be referred to the sovereignty popularly where the policy in the public has a reflection over the principles of citizens and ideas in case there is a referring to the sovereignty popularly to the reference way to the citizens views that have a legitimation instantly in the land laws.
According to Marx and Eagels, ideas contend towards shaping up the world of materiality but there is a material historical nature as understood by the materials to gain production relation that goes through not only changes but also development. On the contrary, in accordance to Marx and Engels it has been exploitative and alienated within the economic capitalist relation feature prompting the idea of dubbed ideologies.