As Blade said, cardiology is a fellowship of Internal Medicine. Fellowship programs tend to use slightly different criteria than residency programs. As an example, step 1 scores (or step 2 or 3 scores for that matter) are not nearly as important.
There have been many threads in the IM forum that have discussed cardiology's competitiveness. The IM subspecialty fellowship FAQ has links to some of the more useful threads.