How are the Department of Defense and the Department of Homeland Security similar?

The both provide security and protection.