Navigation lights on a ship play a pivotal role in ensuring safe maritime navigation and preventing collisions at sea. These essential lights, positioned strategically on the ship's structure, emit different colors and patterns to convey specific information to other vessels nearby. The primary navigation lights include red and green sidelights, which indicate the port (left) and starboard (right) sides of the ship, respectively, as well as a white masthead light and sternlight. Additionally, there is a distinct red and white all-around light for vessels less than 50 meters in length and a yellow towing light for ships engaged in towing operations. The precise arrangement and visibility of these lights are governed by international regulations, such as the International Regulations for Preventing Collisions at Sea (COLREGs), to ensure uniformity and clarity in the interpretation of signals between vessels worldwide. Overall, navigation lights are indispensable aids that enhance maritime safety, guiding ships through the vast expanse of oceans and waterways.