Based on electrical resistivity, a material can be divided into three types: conductor, insulator, and semiconductor.