In this research paper, our main objective is to find out the meticulous role of activated dendritic cells (DCs) during the human immunodeficiency virus (HIV) infection process. DCs play a dual role by enhancing both HIV infection progression, as well as antiviral immune response. To explore the implications of these dual roles, we have formulated our mathematical model and analyzed the model by both analytical and numerical approaches. By using an impulsive differential equation, we have studied the effect of DC-based vaccination. Analytically we have determined the threshold value of drug dosage and dosing interval for optimum levels of injection. We have also investigated the effect of perfect adherence of drug dose on the immune cell count in extreme cases and observed that, systematic drug dose of the immune cells leads to its maximum level.