Right choice is (b) Z direction
The explanation: Gravity, or gravitation, is a natural phenomenon by which all things with mass are brought toward (or gravitate toward) one another, including objects ranging from atoms and photons, to planets and stars. Gravity forces can be considered if acting in z direction.