The term homeland security refers to a security effort by a government to protect a nation against perceived external or…