Complex sentence: The health bar depletes when being attacked by enemies or traps, and when emptied, one of the remaining lives (dubbed as "vials" in-game) will be used automatically.
Split into simpler sentences: The health bar depletes when being attacked by enemies or traps. Every time the health bar is emptied, one of the remaining lives (dubbed as "vials" in-game) will be used automatically.