Jon Bon Jovi and Richie Sambora wrote this with Desmond Child, a songwriter who was brought in by the record company to give them a more commercial sound.
The characters Tommy and Gina were based on a real life situation Desmond encountered in the late '70s with his then girlfriend, Maria Vidal, who he was living with. Desmond was then a New York taxi cab driver and Maria was a waitress in a diner.