When you develop sensitivity to cold, hot or sweet things, there may be something going in your mouth which you need to get checked out by your dentist, A cavity or decay or caries develops when foods, sugars etc that remains in the oral cavity are broken down into acids by bacteria that are present in the oral environment, These acids breakdown tooth enamel creating a cavity.