Depends. There is Bafög for studends and ALG1/2 for unemployed (plus health insurance). Also you can work as student (limited mostly)
But even if you have no income, you still have to pay for health insurance(lowest fee). I know that quite well from some time ago. You also cannot just quit health insurance, as long as you life in germany.