It's mainly prescribed a mood stabilizer. They'll commonly give it to you with lithium or such things.
The list of side effects is rather long, just like most of these psych meds. There's a reason bipolar folks tend to not want to take their meds or go off them.