Being smart has some delicious perks.

We don't often realize this, but going to school can be just as stressful for kids as work is for adults.  All of us were children at one point.  Do you remember the stress of needing to get good grades, combined with the growing pains of fitting in and making friends?

Not to mention, school curriculums have changed a lot over the years.  I know my parents didn't have to take the standardized tests that I had to, and that they've gotten even more complex since I was in school years ago.

We all want our children to do well, so a little motivation seems like a good idea, right?

Krispy Kreme is on board with that idea.  The doughnut chain has rewarded students in the past with a free dozen for the graduating class of 2020.  Now, they're showing their love for students who get good grades!

TikTok user Jordan_The_Stallion8 is a Krispy Kreme employee who shared that the store is giving a free glazed doughnut to students with an A on their report cards.  His video about the offer went viral, and many other TikTok users got in on the trend.

@itsallenferrellKrispy Kreme Free Donut Policy !? 😳🍩

♬ Classical Music - Classical Music

But, there's some important info to keep in mind.

First, this offer varies by location - meaning some Kripsy Kreme shops are not participating in the deal.  Call and double-check with the shop before you go with your report card asking for a free doughnut.

Also, there may be some age restrictions on the offer, so again, call and ask the shop before visiting.

Krispy Kreme has five shops in New Jersey: Collingswood, East Rutherford, Jersey City, Paramus, and Springfield.

QUIZ: Can you identify 50 famous companies by their logos?

How well do you know the logos of 50 of the world's most famous companies? Keep scrolling to see if you can guess which icon belongs to which brand.

LOOK: 20 American foods that raise eyebrows outside of the US

Stacker compiled a list of 20 unusual and uniquely American foods that might raise eyebrows outside the U.S.

From coast to coast: The 20 best regional fast-food chains to try

From burgers to subs and even creamy milkshakes, these tasty fast-food chains, compiled by Stacker, are a must-try on your next road trip.