The Department of Homeland Security (DHS) is a U.S. federal agency created in 2003 with the primary mission of protecting the nation from various threats, including terrorism, natural disasters, and other emergencies. It plays a crucial role in overseeing the nation's security infrastructure while also managing immigration policies and disaster response.