Slut/whore

What makes a girl a slut/whore? Are they the same thing or have different meanings?