Transfer credit is coursework another college accepts so you skip retaking it.
Acceptance hangs on accreditation, grades, equivalency, and how old the course is. Elective credit is not the same as credit that shortens a major. Get the evaluation in writing before you enroll.
Work from school A that school B agrees to count.