How does the mass media reflect public opinion?

By printing it on newspaper or by advertising on tv.