The Department of Homeland Security is a law enforcement agency that performs critical functions to protect the country from threats and hazards. In fact, it's the largest federal law enforcement force in the country, but the roles and responsibilities for homeland security professionals and criminal justice professionals are quite different.