The medical specialty that is concerned with heart is cardiology.