Another way to say "mary is cooking" is "Mary is doing the activity of cooking."