Color-coded dustbins are used to sort and separate different types of waste for proper disposal and recycling. Each color represents a specific type of waste, such as red for hazardous or toxic waste, green for general household waste, and blue for recyclable materials.