RELAXING TIME: Selena Gomez spotted enjoying beach moments with friends in skinny swimsuit – she had hard time eating following strict diet

She has struggled with illness and body-shaming attacks over the past few years.

However, Selena Gomez seems to be recovering as she is on vacation and her new album is only a few days away from being released.

Rest and relaxation: Selena Gomez was recently seen donning a green bikini as she laid out on the deck of a luxury yacht off the coast of Hawaii

Off the coast of Hawaii, the 27-year-old pop sensation was recently photographed on the deck of an opulent yacht wearing a green bikini. 

After completing work on her third studio album, Rare, which will be released next week, she most definitely deserves some time to herself. 

As she relaxed next a female friend sunning on the opulent boat, she seemed to be in a good mood. 

Loving life: No doubt the 27-year-old songstress deserves some rest and relaxation as she has completed work on her third-studio album, titled Rare, as it is set for release next week

Selena wore a sport shirt, high-waisted trousers, and an olive green bikini.

Making a splash: She certainly seemed to be in good spirits as she laid out next to a gal pal while tanning on board of the extravagant watercraft

She wore little makeup to flaunt her inherent beauty, and her brunette hair was arranged in disheveled waves.

She was spotted earlier in the day sporting a matching hair wrap and a sheer white dress over her swimsuit.

Sad: The Wolves hitmaker, who revealed her diagnosis in 2015, explained: 'I have lupus and deal with kidney issues and high blood pressure, so I deal with a lot of health issues, and for me that's when I really started noticing more of the body image stuff'

Selena just talked about the impact body shamers have had on her in a September interview on Raquelle Stevens’ video program Giving Back Generation, so it’s lovely to see her feeling so upbeat.

The singer said in the interview that the “attacks” had “messed” her up.

Soaking up the sun: Earlier in the day she was seen covered up in a sheer white dress over her swimwear along with a matching hair wrap

According to the Wolves hitmaker, who disclosed her illness in 2015, “I really started noticing more of the body image stuff at that point because I have lupus and deal with kidney issues and high blood pressure, so I deal with a lot of health issues.”

Selena blamed her disease, her meds, and other health concerns for her weight fluctuations.

Squad: She was joined by a number of friends on the boating excursion

Regarding her weight, she stated, “It’s the medication I have to take for the rest of my life — to be honest, it depends on the month.”

'It depends on even the month': Selena credited a combination of her condition, medications and other health factors for her weight fluctuation

However, the star’s body was critiqued by some.

So, when people started criticizing me for [gaining weight], I took note. Actually, that’s just my truth. I vacillate. It is contingent upon the events in my life.

'That got to me big time. That really messed me up for a bit': Selena has admitted that it is difficult not letting body shaming comments get to her

It was challenging, though, to avoid being influenced by the remarks.

That truly affected me. “I was messed up for a while by that,” she said.

She has made an effort to overcome the negativity, though.

She told a podcaster acquaintance, “I don’t want to expose myself to everyone and hear what they think about it.”