They're both? All forms of death in my game can be used to your advantage as the main mechanic is recording actions and having your ghost repeat them alongside you to solve puzzles.
In the level below, they just kill you. Bye bye.