Collective intelligence involves aggregating the opinions of a diverse and independent group of individuals in a decentralized manner to achieve wisdom beyond any single person. Key examples are Wikipedia, which aggregates knowledge from many independent contributors, and crowds in general, which can display wisdom through diversity of opinions, independence, decentralization, and aggregation. However, crowd intelligence is not guaranteed and can fail if these principles are not followed.