what is the definition of matter

Matter is any substance that has mass and takes up space. It can exist as a solid, liquid, gas, or plasma. It is made up of atoms and molecules which are constantly in motion. Matter can undergo physical and chemical changes, and it is the basic building block of all objects and substances in the universe.