How does Excess demand cause demand-pull inflation?

When aggregate demand for goods and services exceeds aggregate supply of output which is produced by fully employing the given resources of an economy, excess demand is said to occur.