At Chicago O'Hare airport, as at every airport in the United States, passengers arriving on an international flight must clear immigration (CBP) and customs, collect their checked bags and re-check them, and go through TSA security again before their connecting flight, even when both flights are on the same ticket.
The airport has 4 terminals or concourses (Terminal 1, Terminal 2, Terminal 3, Terminal 5).
Connecting passengers go through a transfer security screening.