The island acted as a central point for either the Axis or Allied forces.
Midway, as the name suggested, sat in between Hawaii and Japan making it an important military point. Midway allowed whoever held the island to have a naval advantage in attacking the other side. The US wanted it to launch an attack on Japan and Japan wanted the island to set up against the US.