The phrase
"main jail" refers to the primary or central facility where people who are arrested or convicted of a crime are held in custody. It is the main place where individuals await trial, serve their sentences, or are temporarily detained.
Full definition