The world is facing several challenges due to the COVID-19 pandemic, which is causing severe social and economic disruption. The disruption has resulted in recession, unemployment, and social isolation and has caused an extreme burden on health care services. Artificial intelligence (AI) has a promising role in the healthcare sector by bringing many advantages to practicing clinicians, patients, and society. This article aims to determine the role of artificial intelligence in the ongoing COVID-19 pandemic. A quantitative methodology is used, and a literature review is done by using electronic databases such as PubMed, Google Scholar, and Scopus. The keywords used for this data research are "artificial intelligence" and "COVID 19"; "COVID 19" and "artificial intelligence". The results have shown that artificial intelligence has been extensively used in seven major domains during the current ongoing COVID-19 pandemic. These include screening and detection of COVID-19 transmission dynamics, diagnostics, disease monitoring and forecasting, disease outbreak containment, disease recovery and mortality, treatment and vaccination, and protection of healthcare workers. Artificial intelligence is a transformational force in the medical field. It assists in early detection of disease, real-time surveillance, diagnosis, treatment, disease containment, development of treatment and vaccinations, and reducing morbidity and mortality. Artificial intelligence will help us in the future to meet many challenges in a timely fashion through the prediction of pandemics, making stakeholders worldwide well prepared to deal with epidemics and pandemics in a systematic and organized manner, avoiding economic turmoil and unnecessary morbidity and mortality.