How do ships navigate using lighthouses?

Each light has its own pattern, called its characteristic. Ship captains know the pattern of the different lights, so they always know where they are along the coast at night. During the day they find their position by determining the shape and/or paint scheme of the lighthouse. The pattern or color of a lighthouse is called its day mark.