panna cotta actually comes from italy, and much like flan, it is also a custard that stands up. 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.