Each of these materials are useful for different things.
Materials are used to build tiles to defend yourself against other players shooting at you. They can be obtained by firing your Harvesting Tool "Harvesting Tool (Weapon)") at different tiles and props. There are three different types of building resource altogether - Wood, Stone and Metal. Each of these materials are useful for different things.