I want to make sure I thank you for your help. I could use a little more

I've tried to find a diagram to show me exactly what the stop molding is. Is it the framing around the window (inside) or the molding that is tacked onto the sheetrock (decorative part).