Prozac?

What exactly is PROZAC used for? Someone I know mentioned that they were taking it. I know it’s like an antidepressant, is that what it’s mainly used for? Also what is the usual dosage? Like how many are you allowed to take in one day? I heard them say they took 3 in an 8 hr period