Being a celebrity is not always about fame and money. Sure, to an extent it may be, but there's more to it than meets the eye. Stars are under constant scrutiny and people just wait for them to mess up and make a mistake so they have to be extra careful in the public eye.

The need to be perfect can add to the pressure of their already busy lives, which results in mental health issues.

Earlier, very few talked about it for the fear of being judged, but now, times are changing, and celebrities are actually using their fame to raise awareness about mental health, because it's just as important as physical health.

Here are 10 celebrities that have openly spoken about their battles in the past.

1. Kendrick Lamar

The singer opened about his depression and "suicidal weakness" through his hit song "U" from his 2015 album "To Pimp a Butterfly." Having come from a humble background, the singer was unable to cope with the fact that while he made it big, there were several others he grew up with who weren't as fortunate. "I couldn't understand that. And that can draw a thin line between you having your sanity and you losing it. This is how artists deteriorate if you don't catch yourself," Lamar admitted to MTV.

2. Jim Carrey

Jim Carrey may be one of the funniest guys in cinema, but after he established himself as one of the biggest actors in Hollywood, he was known for his candid red carpet interviews that shed light on the importance of mental health. Earlier in a 2004 interview, Carrey had revealed that he took an anti-depressant named Prozac for a long time but it didn’t cure his depression, per AP.

3. Megan Thee Stallion

Seeking therapy is nothing to be ashamed of, and rapper Meghan Thee Stallion drives that point home by talking about how the media scrutiny affected her mental health. “I have more pressure on me than I feel like I used to have... when I was Megan, I wasn’t as criticized and under such a magnifying glass as I am now,” the singer opened up in an interview, according to The Independent.

5. Willow Smith

After being born to celebrity parents Will and Jada Pinkett Smith, Willow's rise to fame was her song "Whip My Hair" which came out in 2010. At the time, she was only 10 years old and was unable to handle the fame, which caused her to harm herself. "It was just so crazy, and I was plunged into this black hole, and I was, like, cutting myself," she said, shares Teen Vogue.

5. Bella Hadid

The supermodel has always been candid about her mental health struggles and she even took to Instagram last year, revealing that she has “suffered from extreme depression and anxiety” for most of her teenage and adult life.

6. Demi Lovato

Demi Lovato was diagnosed with bipolar disorder nearly a decade ago. After years of struggling with bulimia, cutting, and drug addiction. They have been vocal about their struggles, simply because they want others to know that “it’s possible to live well, feel well, and also find happiness with bipolar disorder or any other mental illness they’re struggling with,” per Women's Health.

7. Cara Delevingne

Delevingne's struggles with mental health began when she felt “something dark” within herself as a teenager that led to her extreme dislike for the state of mind she constantly found herself in. “I hated myself for being depressed, I hated feeling depressed, I hated feeling,” she said, per W Magazine.

8. Katy Perry

With her rise to fame in the late 2000s and dominating music charts in the years that followed, Perry, like many celebs her age, faced immense pressure to come up with the next hit song. “I just couldn't get out of bed for weeks and became clinically depressed and had to get on medication for the first time in my life,” she recalled, adding that she was “ashamed” to be on medication for her mental health, according to The Independent.

9. Ryan Reynolds

Known as the funny guy, Reynolds is also an actor with an impeccable work ethic. But, the 45-year-old admits to biting off more than he can chew, which led to him suffering from bouts of anxiety. "I fixate on things," he told WSJ. "That's sort of the engine of anxiety. I lay awake at night, wrapping and unwrapping every possible scenario."

10. Lady Gaga

The singer was diagnosed with fibromyalgia and has been very open about her battle with depression and anxiety. In fact, there was a point in the 35-year-old musician's life when she experienced suicidal thoughts daily. “I didn't really understand why I should live other than to be there for my family,” she shared to Complex.

Lady Gaga
LONDON, ENGLAND - DECEMBER 05: Singer Lady Gaga attends The Fashion Awards 2016 on December 5, 2016 in London, United Kingdom. Stuart C. Wilson/Getty Images