Jessica Chastain loved making 'The Martian' because it allowed her ''inner geek'' to flourish.

The 38-year-old actress - who stars alongside Matt Damon in the Ridley Scott-directed sci-fi movie - has revealed how she sealed her role in the film, which taps into her interest in space travel.

The flame-haired beauty recalled: ''I didn't get a call that said Ridley Scott wants me for the movie. It was more like, 'Do you want to meet with Ridley for the film?' Because, you know, maybe Ridley meets me and goes, 'Oh, she's terrible, let's not put her in the movie.'

''But I was really excited by it because also I'd just done 'Interstellar' and I'd become really interested in space exploration.''

Jessica forms part of a star-studded cast for the movie, which also includes Jeff Daniels, Sean Bean, Michael Pena and Kate Mara, and she thoroughly enjoyed working on the project.

She told Variety: ''I knew that to play an astronaut it would kind of open the doors at NASA and my inner-geek would fly! And I would learn so much, so I was very excited.''