The main purpose of the Immigrant Veterans Eligibility Tracking System Act, also known as the I-VETS Act, is to ensure that the U.S. Department of Homeland Security identifies and tracks immigrants who have served or are currently serving in the Armed Forces when they apply for immigration benefits or are involved in immigration enforcement actions. This legislation aims to recognize the contributions of these individuals and provide them with appropriate consideration in immigration processes.