Life points are health. Eating food or drinking health potions recover life points after losing them because of traps, monsters, or negative statuses such as acid burn. The only difference is that health potions give instant health, and food regenerates slowly (but faster than the base rate). If your life points reach 0, you die. As you level up (or because of rings), your maximum health and mana is increased.