The function of end punctuation is to indicate to the reader that an idea is complete and to point up the tone and flow of how the sentence should be read.
There are three basic ways to end a sentence:
A period is used when the sentence is informational.
|Pandas eat bamboo shoots and leaves.|
Question mark (?)
Question marks are used when a question is asked.
Who, what, when, where, why, and how are all words that indicate a question.
What kind of leaves do pandas eat?
Exclamation point (!)
Exclamation points are used to indicate excitement, urgency, or shouting.
Watch out! The panda eats, shoots, and leaves!