Lactation risk categories are a system used to classify medications based on their safety for breastfeeding mothers and their infants, ensuring that healthcare providers can make informed decisions about prescribing drugs during lactation. This classification helps in minimizing potential risks to the infant while allowing mothers to receive necessary treatment.