How do you use projector as a monitor?

what is the work of projector as a output of the computer what is the work of projector as a output of the computer