The national guard is under the control of the states, excepting presidents commandeering them in an emergency. They also are like weekend warriors, people that live in the state and are like part time. The military is people that are on full time terms, outside the areas they live in, and with vastly more advanced gear. But yeah they both are military but not the same at all.
Active duty marines or army in the streets is quite different than national guard.