Sentences are classified in two ways: according to their structure (simple, compound, complex, and compound-complex) and according to their purpose (declarative, imperative, interrogative, and exclamatory).