We add egg to the cheese mixture because it acts as a binder—holding together the mixture after it bakes. This simple addition helps the lasagna hold together when being cut and served.