The sum of all chemical reactions that occur within the cell to maintain life, including energy production and utilization.