Why were modern weapons invented?

Modern weapons were invented to keep up with other updated weapons. Because you ain't gonna use a musket on a tank are you? The most ingenies invention in possibly the aircraft. Fast (sometimes) manuvarable (sometimes) powerful (most the time) and strong (sometimes).