Answer
According to the Maxwell’s corkscrew rule, the corkscrew is in the direction of the current and the handle gives the direction of the magnetic field. This rule is used for determining the direction of the magnetic field around the straight current-carrying conductor.