This is a great question! The eggs serve as a binding agent for the sweet potato casserole.