Answer
Work done by gravity depends solely on the vertical displacement of the body. It doesn’t rely on the trail of the body. Therefore, work done by gravity is given by the expression,
W= m g h
Where,
Vertical displacement, h = 0
∴ W= m × g × zero = 0
Therefore the work done on the object by gravity is zero.