Which best defines homeostasis?

modifying the external environment

maintaining a stable internal environment

controlling what enters and exits the cell

movement of materials into the cell