Carbon credits can be used in compliance markets (regulated by governments) or voluntary markets (by businesses and individuals voluntarily offsetting emissions).