Put simply: without graphics, a video game would just be a blank screen to stare at.
Graphic design is what turns code into something you can actually see and interact with—worlds, characters, menus, and effects. It's the visual layer that makes a game a game.