How does the grammar taught in a Language Arts class in school differ from the grammar that linguists analyze?

The study of Linguistics. How does the grammar taught in a Language Arts class in school differ from the grammar that linguists analyze? What exactly do linguists do with language?