By it's graph, as usual. For example, the relation P(X,Y) defined by
P(X,Y) := (Y is a group) and (Y is the* free group on X)
is an injective function from Set to Grp.
Set is, of course, the collection of all things in ZFC. Grp is the collection of all things that are groups. Both are easily definable by predicate in ZFC.
Incidentally, when dealing with proper classes, NBG set theory is essentially the same as ZFC, but is more convenient, since it allows us us treat classes as objects rather than as first-order logical predicates.
Even more convenient is to adopt a large cardinal axiom, although doing so really is a stronger assumption than merely assuming ZFC.
*: Normally we only care about free groups up to isomorphism -- but here, for simplicity, I will suppose we have fixed a particular construction of the free group on a set[/size]