Problem:
In almost every movie scene when a character is shot in the chest area, some blood comes from his mouth or sometimes even coughs blood before he dies.
Question: Are these kind of scenes realistic/possible? If yes, why does blood come from mouth in this situation? Explain in detail.