It depends on what you are doing and what is most comfortable for you. Leggings are usually more form-fitting and can be worn as pants, while yoga pants are usually looser and more breathable and are typically worn for physical activities.