MAC Newbbie!!! G5 Start-up Problems....

So i got this G5 that was given to me by a friend. It does not boot. When i turn the computer on it displays a white blinking light in the front, about 3-4 seconds apart from each other. After 5 minutes or so the fans star blowing rather hard, noisy per-say.