 The main purpose of this trial is to determine which material, between ceramic and composite, is best to manufacture dental inlays and onlays in the treatment of moderate dental substance losses, generally due to dental caries. Restorations will be done using direct Computer Assisted Design and Manufacturing CAD-CAM. Another aim of this study is to determine which factors influence the success of these restorations. 