The main purpose of this legislation is to create a publicly accessible online database that provides detailed information about individuals detained by U.S. Immigration and Customs Enforcement (ICE). The goal is to enhance transparency and accountability in the immigration detention system, ensuring that the treatment of detainees is monitored and that their rights are protected. Key provisions of the legislation include the requirement for the Secretary of Homeland Security to establish a database that contains specific information about each detainee.