Why when i use slerp or lerp it's not smooth [PlayerCamera GameObject]

public GameObject PlayerCamera, MainCameraLocation , OverviewCameraLocation;

    void Update()
        {
            if (Input.GetKeyDown(KeyCode.Tab))
            {
                PlayerCamera.transform.position = Vector3.Slerp(MainCameraLocation.transform.position, 
                OverviewCameraLocation.transform.position, 1f);
            }
        }

Hello.

Slerp is for rotations, you should use Lerp. And make some tests changing t value using this values 0.3f, 0.4f, 0.5f, 0.6f, 0.7f ands see what wappens (the 3rd value of the function)

Bye!