I was reading through a book on statistical physics when i came across this sentence: "An Einstein solid has two degrees of freedom for every oscillator." How is this possible? I picture an oscillator (ex. mass on spring) to move only in one dimension, thus one degree of freedom. Where does the second degree of freedom come from?