Yeah because the graphics card tends to draw the most power of anything in the system. Having a good quality PSU is very important or you could end up breaking the components of your PC.
Thanks for the advice and how will a GTX 1050 Gaming X 2GB perform on my PC? Oh and can you suggest a good PSU if I'm about get a 1060 6 gb graphic card?