Trunks is the son of Vegeta and Bulma, and in his own timeline he is a teenager with a sword, a blue jacket and a permanently serious expression. He arrives in the main story from a future that has been devastated by the Androids.
In that future almost every hero is dead — Goku from a heart condition, the rest killed by the machines — leaving only Gohan, Bulma and Trunks. Gohan trains him before he too is lost, and Trunks travels back in time to warn the others and deliver medicine for Goku. He appears in this role in Dragon Ball Z and its retelling Dragon Ball Z Kai; the younger Trunks, Bulma's infant son, is a separate character in the main timeline.