I am no die hard Marvel fan, what little I do know or think I know is giving me a lot of confusion.
So to start off, a quick wiki search tells me, and I quote:
Ms. Marvel is the name of several fictional superheroes appearing in comic books published by Marvel Comics. The character was originally conceived as a female counterpart to Captain Marvel.
So this is saying and as seen above the original Captain Marvel was male and the name has been used by other characters.
I know It's not unheard of in comic books for a superhero name or title to be used by more than one different person (example: Green Lantern: Hal Jordan and John Stewart). Sometimes there are even alternate realities or timelines.
The most prominent name that turns up is Carol Danvers. Above is a close image of the Captain Marvel that will appear in the movies and who later joins the Avengers. Her costume's colors are red and blue and has something of a star shape as her symbol, that is Carol Danvers. Also, below is Carol Danvers? Or as I know her - Ms Marvel, costume dominantly black and has a lightning bolt symbol.
I understand, contrary to the movies, that the X-men and Avengers share the same universe. For instance, Wanda Maximoff a.k.a Scarlet Witch is the daughter of Max Eisenhardt a.k.a Magneto allegedly. I don't know anything about the Captain Marvel who is affiliated with the Avengers, but I remember that Rogue before joining the X-men battled with Ms Marvel and permanently stole the latter's powers (in the 90s X-men animated series Ms Marvel was put in a permanent coma as a result).
Did this event happen in the same universe or timeline with the Avengers in it? Is the red and blue Captain Marvel or the same black suited Ms Marvel? Or are they two different versions of each other?