The heart is located between the lungs in an area known as the Mediastinum
The mediastinum is a space that exists between two body parts of the organs inside our body.
To be more specific, our heart is located between our Lungs and our Diaphragm. And all of these organs are protected form the outside forces by our Ribcage