Some bankruptcies discharge and get rid of a debt, some just get you plans through which you can pay off the creditors. You need an attorney to make sure you get in the best plan for you.
Chapter 7 is debt liquidation, in other words, if you have any property that can be liquidated to pay off creditors, those assets are liquidated and your creditors receive a share. Very rarely does anyone have assets that can be liquidated as you are allowed to keep most items, house, car, retirement savings, household goods etc.
Chapter 13 is debt restructuring, basically you come up with a repayment plan to pay back your creditors over a 3-5 yrs period depending on income and debt.
To qualify for Chapter 7 you must pass a means test. If you go to legalconsumer.com you will find a free means test calculator that will help you determine if you can qualify to file a Chapter 7. The best way to find out about all of the intricacies of bankruptcy is to consult with a local bankruptcy attorney. Many attorneys offer free initial consultations. Take advantage of this and learn what you need to know so that you can make an intelligent decision.