Here's the breakdown:
* Latin: *dēns, dentis* meaning "tooth"
* Latin: *dēns, dentis* became *dēnsere* meaning "to be close, to be thick, to be dense"
* Latin: *dēnsere* evolved into *dangere* meaning "to threaten, to endanger"
* French: *dangier* meaning "danger"
* English: *danger*
While the initial root is from the Latin word for "tooth," the meaning evolved through various stages before becoming "danger" in English.