Pros of accepting a plea bargain:
Reduced charges. A felony may be reduced to a misdemeanor, which has dramatically less impact on your future (employment, housing, voting rights, gun rights).
Lighter sentence. Plea deals almost always result in lighter sentences than what you would get if convicted at trial. The "trial penalty" -- the difference between the plea offer and the post-trial sentence -- can be enormous.
Certainty. A plea deal gives you a known outcome. Trials are unpredictable. Even with a strong defense, juries can convict. A plea removes that uncertainty.
Faster resolution. Trials can take months or years. If you are in jail awaiting trial, a plea deal may get you out sooner -- sometimes with time served.
Lower cost. If you are paying for a private attorney, trials are expensive ($5,000-$50,000+ for a felony trial). A plea resolution is cheaper.
Cons of accepting a plea bargain:
You get a criminal record. Even a misdemeanor plea creates a criminal record that shows up on background checks. This affects jobs, housing, and more.
You waive your trial rights. You give up the right to a jury trial, the right to confront witnesses, and the presumption of innocence.
Collateral consequences. A guilty plea can trigger deportation for non-citizens, sex offender registration, loss of professional licenses, loss of public housing eligibility, loss of gun rights, and loss of voting rights in some states.
Difficult to appeal. Once you plead guilty, your appeal options are extremely limited. You generally cannot appeal the conviction itself -- only procedural issues like whether the plea was voluntary.
Innocent people plead guilty. The Innocence Project has documented cases where innocent people accepted plea deals to avoid the risk of a harsher sentence at trial. This is a serious systemic problem.