Gamification enhances e-learning by incorporating game-like elements such as points, badges, and leaderboards to motivate learners and increase engagement. This approach fosters a competitive spirit and encourages active participation, making the learning experience more enjoyable and effective.