Ferrules can be used to create a tight seal between two components, such as in compression fittings, where they compress against a gasket or O-ring to prevent leaks.
Ferrules are often used for labeling or color-coding purposes, making it easier to identify different wires, cables, or components within a larger system.