Originally a state fair was just a competitive exhibition of livestock in various competitions, the display of farm products which were not necessarily for sale, and the competition among various fair goers and participants, but has since been expanded to include carnival amusement rides and games, music, races, etc.
See also: