Help please !

My friend is charge with habeas corpus charge , what exactly is that?