What is the difference between an inverter and a generator?

what is the difference between Inverter generator and regular generator