Anorexia nervosa involves restrictive eating and extreme thinness, while bulimia nervosa involves cycles of binge eating followed by compensatory behaviours like vomiting or excessive exercise.