The purpose of this legislation is to enhance transparency and accountability for law enforcement officers and agents of the Department of Homeland Security (DHS) who are involved in border security and immigration enforcement. It aims to ensure that these officers clearly identify themselves during interactions with the public, particularly during detentions or arrests. Key provisions of the legislation require that when a DHS officer detains or arrests someone, they must provide identification that states which part of the Department they work for.