Britney Spears Beats the Heat by Rocking a Barely-There Bikini

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 is beating the heat the best way possible -- by wearing a tiny bikini!

The 34-year-old singer spent Sunday lounging by the pool in Los Angeles with friends, showing off her rocking bod in a black bikini while laying out and soaking up some sun.

WATCH: Britney Spears Strips Down With Shirtless Men for a Sexy Shoot

Spears also spent the day in the water during Southern California's major heat wave.

"Fun day Sun day!" Spears captioned the pic.

"Great day," she wrote on a second photo of her at the beach as the sun set over the sand.

The "Pretty Girls" singer channeled her former '90s style by adding a black choker with a jewel hanging from it while basking at the beach in over-sized sunglasses and a black two-piece.

RELATED: Britney Spears Unveiled Her 20th Perfume Fragrance in Las Vegas

Spears' time in L.A. followed a sun-filled outing in Las Vegas with sons Jayden, 9, and Sean, 10.

While in Vegas, the trio spent time at Planet Hollywood, where Spears is currently doing her residency, and on Saturday, the boys caught some fake waves to cool off.

Spears also celebrated the release of her 20th perfume called "Private Show" while she was in town.

"Private Show celebrates one of my biggest passions -- dancing! It is inspired by the electric energy I feel when I'm performing, whether during rehearsals or on-stage during my show," Spears told ET at her fragrance launch on Friday.

"I wanted my fans to have an uplifting, sexy scent that empowers them to achieve their dreams!" she added.

RELATED: Britney Spears Is So Excited to Be a Bridesmaid

Spears has been keeping herself busy since being single, but her ex, Kevin Federline, is still reeling about their marriage.

See what Federline had to say about his "overwhelming" marriage to Spears in the video below.

Related Gallery