A sunhat is a type of hat that is designed to provide shade and protection from the sun s harmful rays.