Congenital heart defects are heart conditions that occur due to heart abnormalities present at birth. These defects can affect any part of the heart and can often be treated with surgery.