By purpose (what it does):
-
Declarative – makes a statement.
→ She loves music. -
Interrogative – asks a question.
→ Do you love music? -
Imperative – gives a command or request.
→ Play the music. -
Exclamatory – shows strong feeling.
→ What beautiful music!