What foods that are the best for your teeth?

I heard apples were (for example), but I read it isn't exactly the case because of all the sugar that is in them.