A pendulum is a weight suspended from a pivot point that swings back and forth under the influence of gravity. This motion is a classic example of simple harmonic motion, where the restoring force is proportional to the displacement from the equilibrium position, leading to periodic oscillations.