More specifically, it was invented during WW2 in an American Coca-Cola factory. The USA imposed a trade embargo against Germany making receiving syrup for Coke difficult. To combat this, a businessman named Max Keith invented the drink we all know and love today: Fanta.