The cell membrane is a selectively permeable barrier that surrounds the cell, maintaining homeostasis by controlling the movement of substances in and out of the cell. It is composed of a phospholipid bilayer with embedded proteins, cholesterol, and carbohydrates that facilitate communication and transport functions.