Matter is defined as anything that has mass and occupies space, existing in three states: solid, liquid, and gas. Solids have a definite volume and shape, liquids have a definite volume but no shape, and gases have neither definite volume nor shape, being highly compressible. Each state has distinctive properties and examples include sugar for solids, water for liquids, and air for gases.