Everytime you die, you have a chance to get something called a death token. I believe its
1%* your level to get a death token. Once you have 10 death tokens you are permanently dead, meaning you can not play the character anymore. Level 20 and above there is a feat you can get to raise you 5 death tokens.