Kinetic energy is the energy of an object due to its motion. It is proportional to the mass of the object and the square of its speed. Potential energy is stored energy due to an object's position or state. Gravitational potential energy depends on an object's mass and its height above a reference point and is calculated using the equation PE=mgh. Examples of kinetic energy include moving cars and flying balls, while examples of potential energy include stacked books and objects at high elevations.