A hat is a head covering which is worn for various reasons, including protection against weather conditions, ceremonial reasons such as university graduation, religious reasons, safety, or as a fashion accessory. ... In the military, hats may denote nationality, branch of service, rank or regiment.