What is Strength Damage?

So if an enemy does 1d2 Strength damage through poison and I the DM roll a 2, does that mean that the player has to subtract 2 from their Strength statistic, or do they just take 2 damage, or both? And if the player has to reduce the their Str, when do they get those 2 points back?