A dental restoration or dental filling is a treatment to restore the function, integrity, and morphology of missing tooth structure resulting from caries or external trauma as well as to the replacement of such structure supported by dental implants. They are of two broad types—direct and indirect—and are further classified by location and size. A root canal filling, for example, is a restorative technique used to fill the space where the dental pulp normally resides. The process of preparation usually involves cutting the tooth with a rotary dental handpiece and dental burrs or a dental laser to make space for the planned restorative materials and to remove any dental decay or portions of the tooth that are structurally unsound. If permanent restoration cannot be carried out immediately after tooth preparation, temporary restoration may be performed.