Costochondritis is an inflammation of the cartilage that connects a rib to the breastbone (sternum). It often causes localized chest pain, which can mimic the pain of a heart attack or other heart conditions. The exact cause is often unclear but may be related to physical strain, injury, or repetitive trauma. Treatment typically involves pain relief through rest, ice, and anti-inflammatory medications.