Coffee grounds can be used in the garden as they provide some nutrients like nitrogen, phosphorus, and potassium. They are slightly acidic and can be used around acid-loving plants like blueberries and rhododendrons. Coffee grounds also make good material for composting due to their carbon to nitrogen ratio and can be mixed with other browns for composting. However, they should not be used as mulch due to their fine texture that can compact soil.