the dungeons of hogwarts are located under the school, and it is colder there than up in the main castle. the potions classroom, kitchens and chamber of secrets are located in the dungeons, as is the entrance to the slytherin common room and dormitories.