The main purpose of this legislation, known as the Saving Our Invaluable Land Act of 2025 or the SOIL Act of 2025, is to enhance national security by restricting certain foreign countries from buying or leasing property near sensitive sites in the United States. The goal is to prevent potential threats to national security that could arise from foreign ownership or control of land close to critical infrastructure.