A thermos keeps thing hot or cold by using vacuum technology to keep air from getting inside. The double walled feature of the cup is what allows the container to be "vacuum sealed". In manufacturing the air between the two walls is removed creating the seal. The lack of air keeps the heat or cold from transfering, therefore letting it remain basically the same temperature.