In opera, a prima donna (Italian for "first lady") is the leading female singer in the company, the person to whom the prime roles would be given. The prima donna was normally, but not necessarily, a soprano. The corresponding term for the male lead (almost always a tenor) is primo uomo. A diva is a woman with great talent in opera, and a maestro is the male or female conductor.

At times, these prime donne (the Italian plural form) were grand with their off-stage personalities, and demands on fellow troupe members, musicians, set and wardrobe designers, producers and other staff but were deferentially tolerated because of their consummate talent and their draw at the box office. From this experience, the term prima donna has come into common usage in any field denoting someone who behaves in a demanding, often temperamental fashion, revealing an inflated view of themselves, their talent, and their importance.

Due to this association, the contemporary meaning of the word has taken on this negative connotation of a vain, undisciplined, egotistical, obnoxious or temperamental person who finds it difficult to work under direction or as part of a team but whose contributions are essential to the success of a team.

More Info: en.m.wikipedia.org