verb: to take out and put something else in the same place (usually something worse)
Because we didn't have any, we substituted the sugar with juice.
noun: something that goes in the place of the normal thing
Many smokers who try to quit use chewing gum as a substitute for cigarettes.