The heart, actually, is located in the center of the chest, behind the sternum (or the breastbone). However, a part of it is slightly offset to the left, as you can figure out from the picture above. For understanding this, I think prerequisite knowledge of the heart's basic anatomy is required.