An O-ring is a solid-rubber seal shaped like a doughnut or torus. When compressed between mating surfaces, an O-ring blocks the passage of liquids or gases. Two dimensions describe the size of an O-ring_ its inside diameter (ID) and its cross-sectional diameter (CS).