When you check in the flight, the airlines will record your travel information in the system and send your leaving information to Homeland Security Department later.