Protective outer covering that regulates the interaction between the inside of the cell and the outside environment.