Overall, Gotham has some similarities to the comics, but it also makes significant changes to characters and plotlines to make it more unique for the TV series. For example, some characters' personalities and backstories are altered.
In most cases, Gotham is canon to comics. It incorporates many elements and storylines from the comic universe, maintaining consistency and respecting the source material. However, there might be some creative interpretations or minor deviations for the sake of the TV show's narrative.
When the Avengers arrive in Gotham in fanfiction, their interaction with Gotham's heroes would be filled with both cooperation and conflict. The Avengers, with their superhuman powers and high - tech equipment, would bring a new dimension to Gotham's crime - fighting. But they would also need to respect Gotham's heroes' way of doing things. Gotham's heroes like Batman have a deep understanding of the city's criminal underworld, which the Avengers lack. At the same time, the Avengers' global experience could help Gotham's heroes expand their perspective and perhaps take on threats that are not just local to Gotham.
Gotham fiction often features a dark and gritty urban setting, like the city of Gotham in Batman stories. It usually has complex characters, both heroes and villains, with deep backstories. There's a sense of mystery and danger lurking in every corner of the city.