Common elements could include keeping the main characters' personalities and the basic world-building. Differences might be in adding new adventures or changing the outcomes of events. It really depends on the author's creativity and vision for the fanfic.
Fanfics often expand on the original characters or introduce new ones. They might also explore alternate plotlines. But they still draw inspiration from the core themes and settings of the original.