This helps remove excess moisture so your casserole isn't soggy. The salt also helps enhance the eggplant flavor.