Many dental offices use some form of a chemical called hydrogen peroxide to do this. This hydrogen peroxide is much more concentrated than the stuff you can get in a bottle from the drug store. It penetrates into the teeth to change their color from the inside.