For example, in testing a drug, it is important to carefully verify that the supposed effects of the drug are produced only by the drug itself. Doctors achieve this with a double-blind study in a clinical trial: two (statistically) identical groups of patients are compared, one of which receives the drug and one of which receives a placebo. Neither the patients nor the doctor know which group receives the real drug, which serves both to curb bias and to isolate the effects of the drug.
A positive control is a procedure that is very similar to the actual experimental test, but which is known from previous experience to give a positive result. A negative control is known to give a negative result. The positive control confirms that the basic conditions of the experiment were able to produce a positive result, even if none of the actual experimental samples produce a positive result. The negative control demonstrates the base-line result obtained when a test does not produce a measurable positive result; often the value of the negative control is treated as a "background" value to be subtracted from the test sample results, or be used as the "100%" value against which the test sample results are weighed.
For example, in an enzyme assay to measure the amount of an enzyme in a set of extracts, a positive control would be an assay where you add some of the purified enzyme, and a negative control would be where you do not add any extract. The positive control should give a large amount of enzyme activity, while the negative control should give very low to no activity.
In other cases, an experimental control is used to prevent the effects of one variable from being drowned out by the known, greater effects of other variables. For example, suppose a program that gives out free books to children in subway stations wants to measure the effect of the program on standardized test scores. However, the researchers understand that many other factors probably have a much greater effect on standardized test scores than the free books: household income, for example, and the extent of parents' education. In scientific parlance, these are called confounding variables. In this case, the researchers can either use a control group or use statistical techniques to control for the other variables.