While "Heart and Soul" is a popular standard, no widely known TV series used it as a theme. A lesser-known or short-lived show might have, but it's not commonly associated with any series.
Perhaps you're thinking of a different song with a similar title or melody?