Where do many of the basic life functions take place in organisms?