The primary function of IRDAI is to regulate and develop the insurance industry in India while protecting the interests of policyholders.