I am an MDA enthusiast, so I think I can give you a very detailed answer to your question. What is UML: Object Management Group (OMG), a consortium of companies aimed at providing standard languages ​​and technologies, has defined a meta-meta-modeling language called “Meta-Object Object” or MOF (http://www.omg.org/mof). A metamodel is a model that describes a model or, in other words, a dictionary description (elements that you can use in a model), syntax (ho they are related to each other) and their semantics (which means each object and how its value changes in this context etc.). The meta-model plays the same role as Context-Free grammars in relation to the languages ​​they produce. So you can think of a meta-meta-model as a language that you can use to define a meta-model. This is what OMG has done with UML. UML has a metamodel described using MOF in two documents: UML Infrastructure and UML Supersturcture (http://www.omg.org/specifications/UML).
The UML metamodel was defined with the goal of being sufficiently general to deal with the modeling of various systems belonging to different domains. When you define a new UML model, you instantiate the UML metamodel. You can do this for many reasons: analyze some of the characteristics of the system, share some aspects of the system with other interested parties, and so on. However, one of the most important aspects of OMG's vision is model transformations . When transforming, you can think of it as a set of rules telling the interpreter how to explore the model and produce something else. You can basically convert a model into two different types of thins, other models (Model2Model, M2M transforms defined using the QVT language), or text such as code or documentation (Model2Text, M2T, specific transformations using the MOFM2T transform language ). Therefore, it is VERY IMPORTANT to understand that the UML model is not its diagram. A diagram is simply a graphical representation of the contents of a model, useful to umans, but not machine readable. You cannot apply transformations to a chart.
The Eclipse Modeling Framework (EMF) is a very powerful (and free!) Structure that implements all the technologies that I mentioned. A subset of MOF is implemented in ECORE Eclipse. Using ECORE, the UML metamodel is defined so that UML graphical editors (that is, Papyrus, TopCased, etc.) actually create an XMI representation of graphically defined UML models corresponding to the ECORE representation of the UML metamodel. Such a representation may be presented as input to the converter. Two conversion languages ​​and related engines are also available in EMF with the QVTo plugin and ACCELEO (implementing the MOFM2T conversion language).
As mentioned, UML is intentionally shared. However, it also provides lightweight extension mechanisms to extend the original language vocabulary with domain-specific constructs. This can be done using stereotypes. A stereotype is a kind of label (actually with meta attributes) that you can attach to model elements to create new objects in the language. For example, you can say that in your models some of the classes may be requirements or something else. Of course, there are some rules, for example, when you are a stereotype of a metaclass, you cannot violate its original semantics, just reduce it.
SySML is a UML profile http://www.omgsysml.org/ . A SysML block is simply a UML class stereotyped as Block, a SysML requirement is another UML class stereotyped as Block, and so on.
Profiling a metamodel such as UML is a fairly simple way to create a kind of DSL (like with stereotypes that you add to a more general language, some constructs belonging to your domain) that are compatible with UML (i.e. you can use SysML and UML together). There is another way to create a DSL that defines its metamodel using MOF (ECORE). In this case, you are creating a completely new language that is conceptually at the same level as UML itself.
Many say that UML is just diagrams, because in many cases they don’t know what they are talking about. The topic is much more complicated, interesting and promising.