The cornet is a brass instrument that looks a lot like the trumpet, but has a warmer, mellower tone. In Cuba it played a leading role in the orquesta típica, the wind band of early danzón.
In the orquestas típicas of the late 19th century the cornet was the highest brass instrument, alongside the valve trombone, the ophicleide and one or two clarinets. Later, in son and salsa, the trumpet became the leading brass instrument.
The cornet also played a part in son. According to Wikipedia, the Sexteto Habanero took on a cornet player in 1927 and so became the Septeto Habanero. Trumpeter Félix Chapottín started on the cornet as a child. See Trumpet.
A cornet on a recording usually points to the old típica sound of danzón: solemn, full and a little military.