Intonation

the melody or pitch of and utterance.

Uses
The intonation can indicate the speaker's mood or intent

Intonation can also sometimes distinguish between a statement and a question.

Crystal, David. Rediscover Grammar, page 51.