Socialism is when the state controls the means of production. That is, owns the factories and such where people work.

voir la source