Popular usage treats "Titan" and "Giant" as near-synonyms, but in Greek myth they're genuinely separate beings from separate generations, born from separate unions, defeated in separate wars. Getting this straight is the necessary first step to understanding either group.
The Titans were the first generation of divine beings, children of Gaia (Earth) and Uranus (Sky), who ruled the cosmos before being overthrown by their own children, the Olympian gods, in a war called the Titanomachy. The Gigantes (Giants) came later β born from Gaia alone, fertilised by the blood of Uranus after his castration by the Titan Cronus β and rose up specifically to avenge the Titans' defeat, fighting the Olympians in a separate conflict called the Gigantomachy. Different parents, different wars, different generation entirely β the confusion is almost entirely a modern English-language issue, since both groups get flattened into "giant" in casual translation.