How to make a rotate based program to a gameobject point to other?

I need of a rotation movement that occurs gradually and not immediately as the follow code:

transform.up = target.transform.position - transform.position

Try Vector3.RotateTowards() or Quaternion.RotateTowards() This can gradually rotate an object to a fixed rotation. @Fureneshi

I find the answer in follow site:

How to make enemies rotate to your position