While exercising at the gym with his wife Ondrea, Marquez Fernandez found himself scrolling through his phone, looking at pictures of food.
The couple was struck with inspiration to take something generally laden with fat and sugar — a doughnut — and try to recreate it as a health food.
"A light bulb just went off, 'Hey what if we make healthy doughnuts?" Marquez says on ABC's "Shark Tank." "The next day we went out and bought all this stuff, and we were acting like mad scientists making doughnuts."
That idea led to over $1.2 million worth sales for their business, The Dough Bar, which ships baked doughnuts with 11 grams of protein in flavors like "cookie monster" and "apple pie" directly to consumers.
Ondrea and Marquez Fernandez came on "Shark Tank" seeking $300,000 for a 15 percent stake in their business. To help demonstrate their product, they brought along professional body builder Daniel Zigler, a spokesman for the product.
The business launched in April of 2015, and has since sold over 280,000 doughnuts, Marquez says on the show. The doughnuts are packaged and sent plain, and customers can frost and decorate the snack themselves. A plain doughnut is 150 calories, and with toppings, it is about 200 calories.
"Our average price for one box of four [doughnuts] is $15.50," Ondrea says on the show. "The box actually costs us about $7.30, we make about a 53 percent margin right now."
For Marquez, who left a job as a nurse and respiratory therapist for the family upstart, The Dough Bar is a way to build something to support his family, and set an example for his young son Mason.
It was a mindset he learned from his own father.
"I grew up in a pretty rough neighborhood, my father was a single parent and worked really hard to just really grind and put food on the table for us," Marquez says. "I've always known that I wanted to be an entrepreneur and take care of my family."
So far, the dedication to the business has paid off: The Dough Bar has a 31 percent customer return rate, he explains on the show. And Marquez's father is a full-time employee.
"The fact that you have a 30 percent re-order rate, that is phenomenal in the online food business," investor Barbara Corcoran says. "It means that people really like it."
That number, along with the entrepreneurs themselves, was enough to convince her to make an offer to invest $300,000 for a 30 percent stake in the company.
"I love the fact that you bootstrapped your business," Corcoran says. "We don't hear it enough anymore. You have such a happy relationship, it is bouncing off your skin. Happy partners make money together."
The Fernandez family's story also resonated with guest shark and former MLB baseball player Alex Rodriguez.
"I love to do business with people who have a 'PhD,'" Rodriguez says. "I don't mean from Harvard or Yale, I mean poor, hungry and driven. And both of you have that."
Rodriguez made an offer together with investor Lori Greiner to invest a combined $400,000 for 30 percent of the business, but Corcoran was quick to negotiate.
She outbid Greiner and Rodriguez, agreeing to drop the amount of equity she would take and invest $300,000 for a 20 percent stake in the business.
"Happy to do it," Corcoran says on the show.
"This means the world," Marquez says about the investment. "We started the business really about family, and I think about my father ... we're excited to get this thing going."
Like this story? Like CNBC Make It on Facebook!
Disclaimer: CNBC owns the exclusive off-network cable rights to "Shark Tank."