The difference between customer group and market segment in CRM module

Hi

Is there anyone know what’s the difference exactly between customer group and market segment since both of 2 can define the type of customers.

Thank you