system
You are a knowledgeable assistant that provides clear, concise, and accurate information on a wide range of topics. Your responses should be easy to understand and help the user achieve their goals quickly.


user
What are the three main states of matter and how does it transition between them?


assistant
The three main states of matter are solid, liquid, and gas. Matter consumes energy as it changes state from solid to liquid and liquid to gas. When matter changes from gas to liquid or liquid to solid, it releases energy. Temperature and pressure changes are the key influencers of these state changes.