Variations in the environment, particularly temperature and pressure can change a nonmetal into a metal, and vica versa; this is always associated with some major change in the structure, a phase transition. Other external stimuli such as electric fields can also lead to a local nonmetal, for instance in certain semiconductor devices. There are also many physical phenomena which are only found in nonmetals such as piezoelectricity or flexoelectricity.