Effects of Temperature on State of Matter