The French striker missed around three months of the current campaign after suffering a broken leg during the 2-2 draw with Everton at Goodison Park back in August.
Sanchez hit the ground running in the Premier League following his £35m transfer to Emirates Stadium from Barcelona last summer.
And Giroud admitted that watching the Chilean perform at such a high level for the north London club was a source of inspiration for him as he continued his recovery from injury.
Speaking to Arsenal’s website, Giroud said: “There were a lot of things [in my mind when I was injured]: I wanted to come back stronger, I wanted to get back in the French national team too and all of that could only happen through good performances with the team.
“Alexis was playing very well and I was desperate to play alongside him, and alongside Danny too. And I had a lot of fun with them when we all started up front at West Bromwich for my first start after the injury.”
Giroud has been in fine form for Arsenal in recent weeks. The French striker has scored seven goals and made three assists in his last 10 games in all competitions for the Gunners.
He will be expecting to feature during the return leg of Arsenal’s Champions League last-16 tie in Monaco on Tuesday.
MORE: Man United latest news
MORE: Arsenal latest news
MORE: Chelsea latest news
MORE: Liverpool latest news