Water supply systems aim to deliver water to consumers with adequate quality, quantity and pressure. There are several types of distribution systems for buildings and towns. For buildings, water is supplied directly from main lines or pumped to an overhead tank for gravity feed. Town systems use gravity, pumping or a combination, with water stored in reservoirs. Distribution pipelines are laid in various patterns like dead-end, radial, grid or ring systems depending on the layout. The goal is to ensure reliable circulation and supply of water to all areas.