Material is what everything that you can touch is made of. Even material that is too small to touch, is called material. We use materials to make things. We can also call material "physical substances."
Raw material is materials such as ores which we can clean and mix with other materials to make another material like steel, for example. Cotton is a raw material used to make textiles, which are materials to make clothes.