How to set a target for a c# script

Hey so my camera c# script needs to have a target set and i haven’t used unity in a while so i have no idea how to set the target so can someone help me

Never mind found it

Provide at least solution then cuz it is the worst when you looking for a solution and find topic with “nvm i’ve solve this”