The before picture is a tooth with decay characterized by a brown or darkened area.
The second picture is the tooth after the decay was removed At last, you see a picture of the final restoration where the tooth looks healthy again.