Whether or not leggings are pants depends on the thickness of the fabric, how they are worn and the person wearing them. Some leggings are very thin and more similar to tights than pants, while thicker leggings are sometimes as opaque as pants.
Leggings that are thin and can be seen through in sunlight should be reserved for wearing under skirts and dresses. When wearing leggings as pants, it is important to consider what else is being worn with them. Layering them under other clothing items, such as boots, helps to pull an outfit together. Leggings, when worn as pants, also look best with longer tops such as tunic tops, a long sweater, or a cardigan.