Hey there
Both fields are great and you can choose anyone according to your interest. I have given below the details of both fields for better understanding:
Cardiologist:
Software Engineer
For more about Software Engineering:
https://www.google.com/url?sa=t&source=web&rct=j&url=https://www.careers360.com/careers/software-engineer&ved=2ahUKEwiWvKX_uKP0AhUojdgFHVJ3AjoQFnoECAgQAQ&usg=AOvVaw1OkZzBk0MnwkPYZNeB5FX2
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile