What is the relationship between homeland security and law enforcement?

The generallized term, "Law Enforcement," does not apply to any single entity of government. Many agencies of government have law enforcement missions and authority, the Dept of Homeland Security is just one member of the entire panoply of agencies that has such a mission.