Integrated GPU Performance Less Than Discrete Graphics

I am planning to buy a new computer for the sole purpose of gaming. While browsing through different computer configurations, I noticed that even with CPUs that contain integrated graphics a dedicated graphics card was also present. This leads me to think why do integrated graphics have so much lower performance compared to discrete graphics?
