Matthias Schleiden and Theodor Schwann came up with the cell theory after observing cells for many decades. They determined that all living things are made up of cells, that cells are the basic units of structure, function and physiology, and that living cells can only come from pre-existing cells.