Production buildings generate goods using timers. There are two types of goods:
Primary goods require only time to produce.
Secondary goods require other products as ingredients.
Production continues even while you are offline. The city keeps working, even when you're away.