A nail file is used to shape and smooth the nails, while a nail buffer is specifically designed to create a polished and shiny surface on the nails.