The Department of Homeland Security (DHS or Immigration) can arrest and detain anyone and hold them in detention indefinitely--At least they believe they can. In some cases they are obligated to jail individuals due to Mandatory Detention.
They also have an incentive to detain immigrants. Immigration detention is big business and big profits for big corporations. For comprehensive information regarding immigration detention you should visit www.ICEdetention.com