Answer: To prevent and respond to terrorist attacks.
Explanation: The DHS is a federal government agency in the US tasked with preventing, responding to, and investigating terrorist attacks alongside the Federal Bureau of Investigation, another federal government agency in the US.