What is coughing up blood?
Coughing up blood (also called hemoptysis) refers to coughing or spitting up of blood or bloody mucus from your respiratory tract (lungs and throat). It's a common condition that can have many causes. Some of these conditions can be very serious.
Coughing up blood isn't the same as vomiting blood. Blood that's coughed up often looks bubbly and is mixed with mucus. It can be red or rust colored and is usually in small amounts. Vomiting blood refers to large quantities of blood being expelled from your mouth.