How can prokaryotic cells be smaller than eukaryotic cells and still carry on all the functions of life

How can prokaryotic cells be smaller than eukaryotic cells and still carry on all the functions of life