In regards to production the difference between capitalism and socialism is in regards to ownership of the production. In capitalism production is privately owned and run. The means of production are operated for profit. In contrast in socialism the means of production would generally be owned by the state in the hopes of creating collective benefit rather than simply to produce profits.