Jenny Thomas says that pragmatics considers:
the negotiation of meaning between speaker and listener.
the context of the utterance.
the meaning potential of an utterance.
The context of the interaction and our everyday experiences allow us to construct and interpret layers of meaning beyond what is literally suggested. For similar theories and ideas, see What is Conversation Analysis?, Psycholinguistics, Sociolinguistics, Discourse Analysis and Semantics.