How does these lines of code from the 3d starter assets work?

Hi, I have a question about the 3d starter assets pack. I would still consider myself a pretty new programmer, so I don’t know alot of things, but I can still wrap my head around some of them. However, I really don’t understand these lines of code from the starter assets script, and how they work.

public void OnMove(InputValue value)
{
    MoveInput(value.Get<Vector2>());
}

public void MoveInput(Vector2 newMoveDirection)
{
    move = newMoveDirection;
}

If someone could please explain to me how these work, I would appreciate that greatly

OnMove is related to the list of actions defined in your InputActions asset, speficically the “Move” action.
the generated C# script will put the defined mappings into code and connect the actions to events. OnMove() would be the handling function that would be called when the even was received.