A gravitational wave is a wave in a tensor field called the “metric of spacetime”. This metric determines the geometry of spacetime by specifying how far apart spacetime events are. The wave just consists of changes at each point in the values of the components of this field.
It is very similar to a classical electromagnetic wave, which is just changes in the values of components of a different field, one that has nothing to do with spacetime geometry.