In order to make this clear, writers use direct speech: Direct speech is any word spoken by a character. It can be used to help develop the characters and plot Punctuation is used in direct speech ...
Punctuation is used in direct speech to separate spoken words, or dialogue, from the rest of a story. The words spoken by a character sit inside speech marks: “Did you hear that noise?” ...