The sequence of moves above is actually from a game of mine where I was playing as Black. I was thinking "take the knight on f6 with the pawn and then move the pawn to f5 to attack two pieces at the same time with a discovered attack on the knight from the bishop. Then, White plays Nh7 to attack my rook, which I never thought he'd play, but I didn't think much of it because I could simply capture the knight. Capturing the knight turned out to be a huge mistake. Once I saw White's bishop and queen both attacking the f7 square with my king completely exposed(and in check), I knew I was in trouble. Looking back on the game with computer analysis, my opponent actually missed a mate here, but it didn't matter.