camera focus on gameobject

hi everyone

that’s what i have for my unity game, i have different gameobjects placed on a table and a camera showing all the objects, what i need is when a gameobject is clicked the camera move to focus only on the clicked object. i’m not sure how to make this, should i move the camera or create a camera for each object and when clicked just chnage the camera. can anyone walk me throught this

Camera.main.transform.LookAt(target);