My economics teacher said something about stagflation, what is that, exactly?

The condition of both high unemployment (stagnation) and inflation.

In a stagnant economy, unemployment is high, productivity is low, and jobs are hard to find. In the 1970s, the United States experienced a strange combination of high unemployment and high inflation, which is known as stagflation.