Excretion happens in the lungs, egestion happens in the kidneys.
There is no difference.
📝 Detailed explanation
Excretion involves products of chemical reactions in cells (like CO₂ or urea). Egestion is just passing out material that was never part of the body's cells.