Where does “शास्त्र” come from?

Words derived from “शास्त्र