Presence of a base gives substances bitter taste.
A substance 'X' is bitter in taste. The chemical nature of the substance could be: