Baseball caps have been around since the mid-1800s, but they didn't become a common accessory until the 1940s. They were originally worn by baseball players to shield their eyes from the sun, but they soon became a popular accessory for fans and non-athletes as well.