Stream of consciousness is a narrative style that tries to capture a character's thought process in a realistic way. It's an interior monologue, but it's also more than that.