Another way to say "eating a cookie is for gaining weight" is "You may gain weight if you eat cookies."