The Border Patrol tries to detect and prevent the illegal entry of aliens into the United States. The INS and Border Patrol maintain the borders and watch the flow of legal immigration and goods, while preventing the illegal traffic of people and contraband.