How hereditary information is transmitted through generations