sheryl sandberg founder and Facebook COO Sheryl Sandberg participates in a conversation at the 2013 Dreamforce conference in San Francisco, Nov. 20, 2013. Getty Images/Justin Sullivan

Facebook Chief Operating Officer Sheryl Sandberg’s new book, titled “Option B: Facing Adversity, Building Resilience, and Finding Joy” talks about her experience of pulling herself together after the death of her husband Dave Goldberg in 2015.

Goldberg died of cardiac arrhythmia when he was on a vacation in Mexico with his family and friends. Sandberg credited Goldberg, who was the CEO of SurveyMonkey, with helping her achieve success in her career because of the support he provided at home and outside. He was “the love of my life,” she said.

Read: Facebook COO Sheryl Sandberg Says Trump Gag Rule Executive Order Will Lead To 'Terrible Consequences'

In her latest book, Sandberg talks about her journey from when she saw her 47-year-old husband lying in a pool of his own blood at a hotel gym in Punta Mita on May 1, 2015, to the present day, when she tries to find happiness in her life.

The book is co-authored by her friend Adam Grant, a Wharton School expert on organizational psychology, who Sandberg turned to for answers after she lost her husband.

“I was so worried my kids’ happiness would be destroyed in the moment we lost Dave,” Wired quoted Sandberg as saying Monday. “I asked Adam, ‘What do I do? Tell me. What. To. Do.”

Sandberg wrote a post on Facebook over a month after her loss. It read: “I think when tragedy occurs, it presents a choice. You can give in to the void, the emptiness that fills your heart, your lungs, constricts your ability to think or even breathe. Or you can try to find meaning. These past 30 days, I have spent many of my moments lost in that void. And I know that many future moments will be consumed by the vast emptiness as well. But when I can, I want to choose life and meaning.”

Sandberg pulled herself back together and over time, at the encouragement of her in-laws, started dating her current boyfriend Robert “Bobby” Kotick, CEO of the gaming company Activision Blizzard.

After reports of the couple dating surfaced, Sandberg became the subject of Internet trolling, with critics calling her out for dating after her husband’s death.

However, the “Lean In” author uses her latest book to talk about attempting to find happiness again.