Both RAM and graphics card are important for Photoshop, but if you have to prioritize, RAM is more important as it allows you to work with larger files and multiple applications. A dedicated graphics card can enhance performance for tasks like 3D rendering and video editing.