Inflation is an increase in the general price level of goods and services.
Demand pull inflation can be defined as a rise or increase in the total demand for goods and services. For example: an increase in the price of gasoline would cause the price of other goods to rise because gasoline is been used to transport the goods.
On the other hand, Cost push inflation can be defined as a rise in factors of production. For example: higher taxes, higher cost of raw materials, a rise in the price of gasoline etc.