The gray color in the before photograph is indicative of a tooth that has died for some reason. A root canal was performed followed by internal bleaching to remove the grayish. Once the tooth matched the shade of the adjacent teeth a tooth-colored composite resin restoration was done to restore the tooth.