Answer by taking a quote from the following article:

Time Squad is an American children's animated television series created by Dave Wasson for Cartoon Network, and the 10th of the network's Cartoon Cartoons. It follows the adventures of Otto Osworth, Buck Tuddrussel, and the robot Larry 3000, a trio of hapless "time cops" living in the far distant future who travel back in time attempting to correct the course of history. During their adventures, they run into major historical figures such as Julius Caesar, Abraham Lincoln, Sigmund Freud, Leonardo da Vinci, the Founding Fathers, and Montezuma, who have taken a drastically different course of life than history dictates. The mission of the Time Squad is to guide these figures onto the correct path and ensure the integrity of the future.

Otto Osworth (voiced by Pamela Adlon): An orphan illegally traveling along with Tuddrussel and Larry, taken on board due to their incompetence and his impressive historical knowledge (and for Otto to escape his brutal life at the orphanage). Despite being a bookworm, his demeanor is far from boring; he is just as childlike and jocular as any regular eight-year-old. Even though he is the youngest, he is also the most responsible out of the squad, being the only one pure enough to not let himself get swayed by temptations. Depending on who he's siding with, he can either become loud and destructive (when Tuddrussel has him company) or composed and calm (when it's Larry he agrees with). It's unknown what happened to Otto's parents.  Lawrence "Larry" 3000 (voiced by Mark Hamill): A grumpy robot and the only one on board able to operate the computer. It's his job to make sure the squad ends up at the right time and place. Initially, he was programmed as a polyglotic robot for diplomatic purposes; when all of the nations rejoiced into one, huge country, his consular abilities were no longer needed. Larry is famous for his effeminate behaviour and interests, which are portrayed all but subtly. Unusually, he is extremely dramatic and open in showing his emotions whilst still being the snarkiest of the trio. He prides himself in having knowledge of proper etiquette and manners. For Otto, he has been repeatedly depicted as a maternal figure.  Beauregard "Buck" Tuddrussel (voiced by Rob Paulsen): An immature time cop, who possesses all the physical requirements for his job and none the intellectual. Whenever there's someone who needs a beating up (and even when they don't), he's the best person to get assigned for such a task. Impulsiveness, aggressiveness and air-headedness are traits which define Tuddrussel quite nicely. Not much of his backstory is known, aside from his Southern heritage and a short-lived marriage to fellow time cop Sheila Sternwell.

What is the basis of the show?
An orphan illegally traveling along with Tuddrussel and Larry, taken on board due to their incompetence and his impressive historical knowledge (