Leaving headphones in the sunlight because can damage the magnet of headphone.
To clean the area of headphone use a lightly dampened cloth or spray any cleaning fluids.
To clean earpieces use a lightly dampened cloth with warm water to rub the head and earpieces of the headphones.