Question of the night

How is it even possible that while incarcerated or in rehab for patients/inmates to have access to a cell phone? How would it even be snuck in