Immigration : Need to check whether the person leaving the country had not overstayed and had valid visa. Also whether the person has no warrant or red alert and is free to leave the country. Gate : Need to check whether the person carrying the boarding pass is the same person travelling as per the passport.