It can. You should try wearing clothes that are made from a light fabric like cotton. Also, remember to wash your clothes correctly and pay special attention to areas where you sweat, so the smell doesn’t stay. Other than that have good hygiene: take showers, scrub, use deodorant or antitranspirant.
While body odor is usually associated with the armpits, bacteria can also produce odor in the groin, anus area, upper thighs, and feet, among other places. Thoroughly washing your skin with a wet washcloth and soap — especially those areas prone to sweating — can help prevent body odor.