How does a person obtain a chapter 7 discharge?

A chapter 7 discharge is obtained by filing and maintaining a chapter 7 bankruptcy case and being eligible for a chapter 7 discharge.  However, not all debts are discharged by a chapter 7 discharge.  Certain types of debts are by law not dischargeable under chapter 7 and debts of this type will not be discharged even if the debtor receives a chapter 7 discharge.