The heart is an organ that pumps blood throughout the body. It is located in the thoracic cavity medial to the lungs and posterior to the sternum.