The eggs keep ricotta cheese from becoming grainy and dry when cooked. If you need to make this recipe egg-free, you can leave them out but the texture of the finished dish may be not be as smooth and creamy.