Thiomalates are medicinal compounds, such as dimethylamine thiomalate, that contain a thiomalic acid structure and are used in the treatment of conditions like rheumatoid arthritis and ankylosing spondylitis due to their anti-inflammatory and analgesic properties.