When used as part of a courtroom sentence, "time served" means that the time a person has already spent in jail during the trial will be credited to their prison sentence. It is used to account for unusually long trials and/or unusually short prison sentences. In general, it simply means that the person has served a certain length of time as part of their sentence.