What is a kind of confectionery, usually a small cube or square of tenacious paste, or candy, of varying composition and flavor called?

caramel — A kind of confectionery, usually a small cube or square of tenacious paste, or candy, of varying composition and flavor. (Webster's 1913.)

Sources