Britney Spears Hits the Gym After Enjoying Cheesecake Factory With Her Sons

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

Britney Spears just showed the world the trick to enjoying a tasty treat and staying healthy.

The pop singer took to Instagram on Saturday to share a cute photo of herself and her two sons, Jayden James and Sean Preston, dining on some french fries, corn dogs and caesar salad at The Cheesecake Factory.

NEWS: Britney Spears Shares a Kiss With Son Before Heading to Texas on Vegas Show Hiatus

Judging from the huge smiles, their meal was delicious. But that doesn't mean the 34-year-old singer is sitting back and letting those calories go unburned.

A few hours later, she shared a video to Instagram of her rigorous workout routine: lifting weights while speed-walking on a treadmill (and listening to "Blurred Lines").

"After Cheesecake Factory you do this," Spears captioned the clip.

WATCH: Britney Spears Flaunts Her Insane Abs, Hits Up a Water Park With Her Sons

Not only is the singer’s bod looking stellar, her music is burning up the charts. She recently dropped a new single, "Make Me," and she's one of several artists featured on "Hands," a tribute song benefiting the victims of the Pulse nightclub shooting in Orlando, Florida in June.

Another star who appeared with Spears on the emotional single was Selena Gomez. After the 24-year-old singer mentioned on Snapchat that she now has "technically" done a duet with Spears, the "Piece of Me," singer asked the important question: "Technically, yes... But when are we working on our actual duet?" Check out the video below to hear more.

Related Gallery