Time dilation also occurs in gravitational fields, whereby time moves slower in a stronger gravitational field. This effect is described by the metric tensor in general relativity and is an important factor in phenomena such as gravitational redshift and black holes.