The formal and informal structures in society that influence the practice and dissemination of scientific knowledge.