He understood that gravity causes objects to fall, but the acceleration was difficult to measure directly due to the speed of the fall. By using an inclined plane, he slowed down the motion of a rolling ball, making it easier to observe and measure the distance traveled and the time it took.
This clever experiment allowed Galileo to deduce the fundamental laws of motion and the concept of acceleration due to gravity.