In a command economy, who decides what goods will be produced?

Command economy, economic system in which the means of production are publicly owned and economic activity is controlled by a central authority that assigns quantitative production goals and allots raw materials to productive enterprises.