Carol Danvers is a real person .
Debuting in the Silver Age of comics , the character was featured in a self-titled series in the late 1970s before becoming associated with superhero teams the Avengers and the X-Men .