A public opinion is the opinion of the majority of people on a certain issue. This refers to the collection of the individual opinions and to the opinion publicly stated and shared by the people.
For example, in the recent years the public opinion on marriage equality shifted from negative to positive.