Here's why the US and Israel are such close allies
Donald Trump Benjamin Netanyahu
Donald Trump Benjamin Netanyahu

(US President Donald Trump (R) looks to Israeli Prime Minister Benjamin Netanyahu hold a joint news conference at the White House in Washington, US, February 15, 2017.REUTERS/Carlos Barria)

Benjamin Netanyahu, Israel's prime minister, was one of the first foreign leaders to visit US President Donald Trump after his election in November and his inauguration in January for a simple reason — the US and Israel have one of the strongest military to military alliances in the world.

But why?

The US supports Israel in diplomatic and military matters not because of the strength of pro-Israel lobbies like the American Israeli Public Affairs Committee, or out of sympathy stemming from the events of World War II, but for practical reasons.

Michael Koplow, a Middle East analyst at the Israel Policy Forum, told Business Insider that the US's alliance with Israel owes to two key factors — intelligence sharing and ideological unity.

Israel's intelligence and insights into Middle Eastern affairs is "unparalleled" throughout the world and "benefits the US in all sorts of ways." For decades, intelligence analysts have regarded Israel's Unit 8200 as one of the most elite in the world. The unit functions similarly to the US National Security Agency, and the two work closely together.

In 2010, for example, the US and Israel collaborated on one of the most-sophisticated malware systems ever created, Stuxnet, to infiltrate Iran's cyber infrastructure and slow progress towards nuclear weapons without firing a shot. In missile defense as well, US and Israel have worked together to field some of the most effective systems around.

idf soldiers
idf soldiers

(Israeli soldiers pray atop a tank at an Israeli Defence Forces (IDF) staging area by the central Gaza border.Yannis Behrakis/Reuters)

Unlike other US allies in NATO and the Pacific, the US has no forward-based troops in Israel, which could serve as a "port of last resorts," should the US ever need friendly territory to stage troops or equipment, according to Koplow.

But besides having perhaps the world's greatest intelligence sharing partnership, the US and Israel see eye to eye on something fundamental to both states — democracy.

"Israel is the only liberal democracy in the Middle East," said Koplow, who added that there are "many shared societal values between US and Israel." Like the US, Israel has regular and open elections with peaceful transitions of power. In a region with failed and failing states Israel is "really an important ideological ally," said Koplow.

The risks of the alliance(Iranian President Hassan Rouhani takes part in a news conference near the United Nations General Assembly in the Manhattan borough of New YorkThomson Reuters)

Like the US, or virtually any country on earth, Israel is not without its enemies. The United Nations has pushed back on Israel's treatment of Palestinians and their support for Jewish settlements outside of Israel's borders.