Logic of Life