Child suppport

How is child support helping the child when the judge locks the father up for not having the funds to pay? The child stilll is losing out if the father is all ways in jail then how can he maintain a job. And plus he can he see the child in jail?