Most things in modern PCs use 12V. Only rather small amounts of power are drawn on the other rails. Both the CPU and GPU will draw almost exclusively from the 12V rail. If the power supply has multiple rails, they may draw from different 12V rails, or the GPU can even draw on more than one 12V rail.