however, the core difference here comes from the base ingredient. panna cotta does not use eggs, it is a gelatin-based custard, which is what gives it structure and allows it to stand. because it uses gelatin, panna cotta is a much lighter custard than flan and it is more versatile with different flavorings.