Photobiomodulation in restorative dentistry and endodontics