What does "grammatical" mean?

Grammatical: According to the rules of grammar; grammatically correct; as, the sentence is not grammatical; the construction is not grammatical. -- Gram*mat"ic*al*ly, adv. -- Gram*mat"ic*al*ness, n.

Sources