Prediction of an upcoming recession

In 1000 words, explain what the inverted yield curve is. Why is it considered to be a prediction of an upcoming recession?
You can use course material in your answer.