As one of the best prediction tools for a recession, the yield curve is an important market indicator that all investors should understand.