As nouns,
transistor is a hyponym of
semiconductor device; that is, transistor is a
word with a more specific, narrower meaning than
semiconductor device:
semiconductor device: a conductor made with semiconducting material
transistor: a semiconductor device capable of amplification