Why an egg's consistency changes as it cooks

A Moment of Science - A podcast by Indiana Public Media

Podcast artwork

Eggs change from a liquid-like state to practically solid the longer you cook them, but why is that?