The National Security Agency (NSA) is the main US agency for global monitoring, collection, decoding, translation and analysis of foreign intelligence data.