Trunks was first shown as a baby when the heart virus killed Goku and the androids #18 and #17 killed most of the fighters. Trunks and his master Gohan were the only fighters that were not killed. Trunks trained to become Super Saiyan. He did this so he could fight the androids. 