Five Nights at Freddy's is a free horror survival game centered on the story of Freddy Fazbear's Pizza. All you have to do is spend five nights in Freddy's Pizza place, filled with scary animals. You play a lowly security guard who has been given a seemingly menial task. You only need to make sure nothing bad happens over the course of 5 nights. Foxy is one of four main antagonists of Five Nights at Freddy's, who later appear as variations.
If you didn't die of a heart attack after playing the first episode, be aware that FNAF 2 is even more terrifying and that it will be more difficult to survive your 5 nights as a nightguard. This time you'll have no security doors to protect you against the animatronics but will have to put on a Freddy Fazbear mask to fool them. Constantly monitor the surveillance cameras and the 3 entrances to your office, turn on your flashlight if needed and don't forget to wind up the music box.
See also:
Five Nights at Freddy's 1
Five Nights at Freddy's 3