Is sand that we read in building material different than that we read in soil mechanics?

Sand as a building material is virtually any granular material.

In soil mechanics, it is mineral-based material 0.074mm – 4.75mm in size.

So, the soil mechanics definition is more precise than the building material definition.