Why is fluoride necessary and what does it do?

Fluoride is a preventative method for tooth decay. It is simply applied topically with a gel by the dentist.