Socialism is a social and economic system refers to common ownership over the mean of production of state. It is…