A length of RNA or DNA that has been transcribed respectively from a DNA or RNA template