Anything that brings us pleasure can become habit-forming, and video games are no exception. Their mix of reward, challenge, and instant feedback makes them especially good at keeping us coming back.
People play for all sorts of reasons: pure enjoyment, the thrill of a tough challenge, bonding with friends, or simply escaping into another world for a while. Different players, different motives, but the appeal is universal.