The main ingredient varies by herbicide type. Glyphosate is a common ingredient in nonselective herbicides, while others may contain 2,4-D or dicamba.