A building to which people are legally committed as a punishment for a crime or while awaiting trial:
He died in prison.
Both men were sent to prison.
Why not He died in a prison? And is it possible to say He died in the prison if I want to talk abount the prison in which he died?
Are there any other noun with this characteristic?