Complex sentence: A ghost blows black pepper in a keyhole and into Odie's nose, causing him to sneeze and alerting the ghosts to where they are.
Split into simpler sentences: A ghost blows black pepper in a keyhole and into Odie's nose. When the pepper causes Odie to sneeze, it alerts the ghosts to where they are.