Workers raw materials capital
All those are inputs to the factory which makes products
sell the products
pay for raw materials, wages and interest on capital
the money that is left is profit
who gets it?