Counterespionage refers to covert actions taken by a country to prevent another country from discovering its military, industrial, or political secrets. In other words, it’s spies spying on spies.