Going to the dentist was hard for Mike. He was a little bit afraid of going, but his mom always went with him.  When he got to the dentist office, they were all nice to him.  He had to go sit in a dentist chair, and lean back for the lady to check his teeth.  Then she started to clean his teeth with a little machine and a little stick.  The machine made a whirring sound , but it was just water in it, and it washed his mouth out when she finished.  She then rubbed his teeth with a buffer, that made his teeth shine.  It tasted like bubble gum. He liked that part.  Then the dentist came in and examined his mouth, to make sure the lady cleaned them well. He was also checking for cavities.  Mike had no cavities that day, and the dentist was happy with Mike's clean mouth. He gave Mike a bag of things to take home, a new toothbrush, toothpaste, and floss.
What did the dentist do to their teeth?