Deductions & credits

Ok,just confused cause I  have heard of others on public assistance , (welfare,not ssi) ,getting a return?