A class of chemicals derived from barbituric acid or thiobarbituric acid. Many of these are medically important as sedatives and hypnotics (SEDATIVES, BARBITURATE), as anesthetics, or as anticonvulsants.