The practice of spying or using spies, typically by governments to obtain political or military information.