Israel has been one of the world's largest arms exporters and has spent millions of dollars on developing state-of-the-art weapons.