(1) The sperm are potent enough but for some reason, the man is not able to perform intercourse and then IVF is used to fertilize the ovum and later implant it in the womb.
(2) The husband can perform intercourse but does not have enough sperm or if sperm are not potent enough to fertilize the ovum on their own. In this case also, IVF is used.