Factory Panic, is an action game for the Game Gear handheld game console, and published by Sega in 1991.
The player character is a blond-haired boy. A corrupt business magnate called Mister Greede has been withholding food and other necessities from the people of Segaville. The player infiltrates Mr. Greede's factory to distribute goods to the waiting citizens.
As bread, meat, medical supplies, Game Gears, and other objects travel on conveyor belts, a queue of people in need wait outside a fence at the bottom of the screen. Each person needs one specific thing. By rerouting the right thing at the right time, Gorby can send it to the person, who then goes away happy.
In some levels, the player steps on a switch to rotate a conveyor belt junction; in other levels, they rearranges conduits to make or break links between conveyor belts. To give each person what they are waiting for, the player must step on switches or place conduits quickly enough to route the goods on the network of conveyor belts—while also fending off the factory's security guards. He must also avoid sending the people hazards, like moldy bread or poison.
Once the player has delivered the required item to each person in the queue, he advances to a more challenging game level.
Source: Wikipedia, "https://en.wikipedia.org/wiki/Factory_Panic", available under the CC-BY-SA License.