Researchers have used computer algorithms to determine the optimal growing conditions to improve basil plants' taste by maximizing the concentration of flavorful molecules known as volatile compounds.