The main purpose of this legislation is to amend an existing law related to the treatment of families and children in immigration detention. Specifically, it aims to clarify the standards for detaining families at the border, particularly focusing on children who are not unaccompanied minors. The bill is titled the "Ensuring United Families at the Border Act." Key provisions of the legislation include the establishment of new guidelines for the detention of families.