Artificial intelligence (AI) is about simulating and expanding human intelligence. AI based on deep learning (DL) can analyze images well by using their inherent features, such as outlines, frames and so on. As researchers generally diagnoses ocular fundus diseases by images, it makes sense to apply AI to fundus examination. In ophthalmology, AI has achieved doctor-like performance in detecting multiple ocular fundus diseases through optical coherence tomography (OCT) images, fundus photographs, and ultra-wide-field (UWF) images. It has also been widely used in disease progression prediction. Nonetheless, there are also some potential challenges with AI application in ophthalmology, one of which is the black-box problem. Researchers are devoted to developing more interpretable deep learning systems (DLS) and confirming their clinical feasibility. This review describes a summary of the state-of-the-art AI application in the most popular ocular fundus diseases, potential challenges and the path forward.