YSLD is a YAML based language which closely matches the stucture of SLD, and the internal data model that GeoServer’s renderer uses. For details on YSLD syntax see the reference below or the GeoTools documentation.

YSLD is not a part of GeoServer by default, but is available as an optional install.