Him can be used in the following ways:
as a pronoun, being the object form of he: I don’t trust him.My sister plays tennis with him.
in a one-word answer or after the verb ‘to be’: ‘Who said that?’ ‘Him.’I knew it was him as soon as I heard his voice.