What is the meaning of Boardshorts?

A style of typically knee-length lightweight shorts worn generally by males as swimwear and for surfing.

Source: wiktionary.org