The main function of the plasma membrane is to protect the cell by forming a barrier between the cell’s internal environment and the external environment. It regulates the transport of materials, facilitates cell communication, and maintains the cell’s structural integrity.