In text functions, such as word processing or coding, function keys (F1-F12) can trigger specific commands or shortcuts, enhancing efficiency. CTRL and ALT keys combine with other keys to execute additional functions, providing versatile control and customization options for users.