Military prison is a special kind of jail where soldiers who have broken military rules or laws have to stay. It works just like a normal jail - the soldiers have to stay in their cells, and are not allowed to leave without permission. Soldiers who are sent to military prison will usually stay for a certain amount of time, depending on what kind of laws they broke.