Ampère's right-hand grip rule, also called the right-hand screw rule, coffee-mug rule or the corkscrew-rule; is used either when a vector (such as the Euler vector) must be defined to represent the rotation of a body, a magnetic field, or a fluid, or vice versa, when it is necessary to define a rotation vector to understand how rotation occurs. It reveals a connection between the current and the magnetic field lines in the magnetic field that the current created. Ampère was inspired by fellow physicist Hans Christian Ørsted, who observed that needles swirled when in the proximity of an electric current -carrying wire and concluded that electricity could create magnetic fields.