Complex sentence: Many style of hat have been popular through history and for different functions including the top hat, hats worn as part of military uniforms, cowboy hat and cocktail hat.
Split into simpler sentences: Many style of hat have been popular through history and for different functions. Style include the top hat, hats worn as part of military uniforms, cowboy hat and cocktail hat.