Pediatric cardiology is a medical specialty focused on diagnosing and treating heart conditions in children.