What food does periwinkle snails eat?

The Periwinkle eat algae off rocks by scraping it off using their rows off teeth. That's why they live in the rocky shore zone where the water always is for at least half the time.