A sarong is a large tube or length of fabric, often wrapped around the waist, worn in Southeast Asia. Yes, it is mandatory to wear sarong in temples.