When you exercise heavily, you produce a lot of pyruvate from glycolysis. However, if not enough oxygen is available to keep up with this, the pyruvate is temporarily stored as lactic acid. When you have sore muscles the day after unaccustomed exercise, this is caused by the buildup of lactic acid in your muscles. Glucose comes from the food you eat. Many of the substances which you eat are converted to glucose by your cells.
Plants make their own glucose.
Oxygen comes from the air you breathe. Some water is used. This is present in all your cells. ATP is used by your cells as the energy source for any chemical reaction which requires energy input to occur. Water is added back to your cell's water supply.