What is the difference between a jail and a prison?

A jail is to confine someone waiting to be presented to court and house defendants convicted of misdemeanors (less than one year in jail).

The cells in police facilities are NOT jails, they are referred to ion the law as "holding facilities."

A prison is to confine people that have been convicted of felonies and sentenced to a more than a year in prison.

"Jails" are usually operated by large municipalities or counties, while "prisons" are operated by the individual states and/or the federal government.