Eva Longoria has worn many hats in her career -- and continues to do so.

The 45-year-old entertainer has gone from acting to producing to directing and loves to challenge herself in new ways, both in front of and behind the camera.

We're breaking down her best TV roles in the list below:

"The Young and the Restless"

Isabella Brana, 2001-2003

Longoria's character, Isabella, had a tragic end on the series. After having an affair with Paul Williams (Doug Davidson), they conceived a son named Ricky.

EVA LONGORIA SHARES ‘BIGGEST PET PEEVE’ ABOUT MOTHERHOOD, TALKS ‘DESPERATE HOUSEWIVES’ REBOOT

Isabella then tried to get revenge on Paul's wife Christine after he broke up with her and was committed to a psychiatric facility.

Eva Longoria (as Isabella Brana) is embraced by Doug Davidson (Paul Williams) in a scene from 'The Young and the Restless' from 2002. 

Eva Longoria (as Isabella Brana) is embraced by Doug Davidson (Paul Williams) in a scene from 'The Young and the Restless' from 2002.  (Cliff Lipson/CBS Photo Archive/Getty Images)

Longoria revealed to Entertainment Weekly that while on the soap opera she needed another job to make ends meet.

"I was a headhunter while I was on 'The Young and the Restless.' I was doing it out of my dressing room," she recalled. "It wasn't until two years into The Young and the Restless that I was actually able to live off just acting."

"Telenovela" 

Ana Sofia Calderon, 2015-2016

Longoria was the star and executive producer of the NBC comedy series, which was canceled after one season.

“I would say my lines and leave. I didn’t get a say in who my co-star was, pick the words coming out of my mouth or what take they were going to use. That’s why I became a producer – to have control of the final product," Longoria told The Guardian.

Eva Longoria as Ana Sofia in 'Telenovela.' 

Eva Longoria as Ana Sofia in 'Telenovela.'  (John Tsiavis/NBCU Photo Bank/)

“People think I’m an actor-turned-director and producer, but I think I was always a director/producer who happened to fall into acting," she added.

"Jane the Virgin"

Director, Chapter Forty-Seven episode in 2016

Longoria was hired as a director and felt right at home working on the set.

"I think the Hispanic community is making progress on television,” Longoria told the LA Times about why she loves directing. “But we’re still severely underrepresented.”

AMERICA FERRERA, EVA LONGORIA, AND OTHERS PEN LETTER TO LATINX COMMUNITY: 'YOU ARE NOT ALONE'

“When it comes to diversity in television, we have to have more people behind the camera,” she added. “We have to have more producers and writers — specifically, writers — in order to create those stories and dig from the well of our community, which has been untapped. And that’s what we’re doing here.”

"Grand Hotel"

Beatriz Mendoza, 2019

Longoria said making the ABC drama series was a great way to combine all her passions -- acting, producing, and directing.

Eva Longoria as Beatriz in 'Grand Hotel.' 

Eva Longoria as Beatriz in 'Grand Hotel.'  (Mitch Haaseth/ABC via Getty Images)

"I love producing and directing. When I got to act here and there, I realized I did miss it a lot. I was like, “OK, I’ve got to figure out what I’m doing next because I love it so much,'" she told Parade magazine.

Unfortunately, the show was canceled after one season.

"Desperate Housewives"

Gabrielle Solis, 2004-2012

The ABS mystery comedy-drama television series launched Longoria's career and made her a household name. She was nominated for a Golden Globe award in 2006 and won a SAG award with her fellow castmates in 2005.

(L-R) -- Teri Hatcher, Marcia Cross, Eva Longoria, and Felicity Huffman

(L-R) -- Teri Hatcher, Marcia Cross, Eva Longoria, and Felicity Huffman (Eric McCandless/Walt Disney Television via Getty Image)

She told Variety in 2019 it was the best pilot script she's ever read.

CLICK HERE TO GET THE FOX NEWS APP

“It has everything, it sets up everything,” Longoria admitted. “It’s super balanced in its storytelling. It was beautiful, it was stylized, it was stylistic and was so unique.”