There is a growing demand for indoor positioning systems (IPSs) in a wide range of applications. However, traditional solutions such as GPS face many technical challenges. In recent years, a promising alternative has been emerging, the visible light communication (VLC)-based IPS, which offers a combination of high accuracy, low cost, and energy efficiency. This article presents a comprehensive review of VLC-based IPSs, providing a tutorial-like overview of the system. It begins by comparing various positioning systems and providing background information on their inherent limitations. Experimental results have demonstrated that VLC-based systems can achieve localization accuracy to within 10 cm in controlled environments. The mechanisms of VLC-based IPSs are then discussed, including a comprehensive examination of their performance metrics and underlying assumptions. The complexity, operating range, and efficiency of VLC-based IPSs are examined by analyzing factors such as channel modeling, signal processing, and localization algorithms. To optimize VLC-based IPSs, various strategies are explored, including the design of efficient modulation schemes, the development of advanced encoding and decoding algorithms, the implementation of adaptive power control, and the application of state-of-the-art localization algorithms. In addition, system parameters are carefully examined. These include LED placement, receiver sensitivity, and transmit power. Their impact on energy efficiency and localization accuracy is highlighted. Altogether, this paper serves as a comprehensive guide to VLC IPSs, providing in-depth insights into their vast potential and the challenges that they present.