It's graduation season, a time when some of the biggest names out there take the stage to share their wisdom in commencement speeches.
And while their audiences are primarily soon-to-be college graduates, the advice is often applicable to everyone.
Here are bits of wisdom for wherever you are in life from some of this year's most memorable commencement speeches.
In a moving speech at the University of California, Berkeley, Sandberg shared the lessons she learned after losing husband Dave Goldberg, who died in May 2015 of heart-related problems.
"Build resilience in yourselves. When tragedy or disappointment strike, know that you have the ability to get through absolutely anything. I promise you do. As the saying goes, we are more vulnerable than we ever thought, but we are stronger than we ever imagined," Sandberg said.
"You are not born with a fixed amount of resilience. Like a muscle, you can build it up, draw on it when you need it. In that process you will figure out who you really are — and you just might become the very best version of yourself," she said.
While Obama cracked a fair amount of jokes during his speech at Rutgers University, he also shared some serious advice.
"You have to be persistent. And success, however small, however incomplete, success is still success. I always tell my daughters, 'You know, better is good.' It may not be perfect, it may not be great, but it's good," Obama said.
Read MoreObama takes swipe at Trump in speech
"That's how progress happens — in societies and in our own lives," he said.
Goodall spoke at the University of Redlands commencement ceremony, sharing the obstacles she overcame to conduct her historic research.
"I truly believe that when people live with head and heart in harmony, then that's when we attain our true human potential. And every single one of us has the potential for greatness — it's just that we must never give up," Goodall said.
The Broadway visionary spoke to the University of Pennsylvania's graduating Class of 2016.
"The stories you are about to live[...] they are the times you say 'no' to the good opportunities, so you can say 'yes' to the best opportunities," Miranda said.
Krzyzewski delivered Duke University's commencement address this year.
"It's game time," Krzyzewski said. "It's time for you to display your heart, to find teams, to go for it and to expect great things."