Pants are apparelbottoms that have material which covers the entire leg, down to the ankle.
About Shorts:
Shorts are apparelbottoms that have material cut short above the knee or slightly below the knee.
About Swimwear Shorts:
Swimwear shorts refers to lower body garments used for sunbathing, swimming, or any other type of water sports activity. Swimwear shorts are made from a wide variety quick-drying materials, are generally loose-fitting, and feature a brief-like design.