A dispenser is a device that releases liquid or semi-liquid substances in a controlled way, often used for items like soap or hand sanitizer.