The term cooking the books refers to the manipulation of financial records to make a company's financial results appear better than they actually are. This practice involves inflating earnings and reducing expenses, resulting in higher reported profits. However, cooking the books is illegal and can have severe consequences. Investors rely on auditors to detect and report any fraudulent practices.