Costochondritis is an inflammation of the cartilage that connects a rib to the breastbone (sternum). Pain caused by costochondritis might mimic that of a heart attack or other heart conditions.