Free nerve endings are primarily involved in the sensation of pain (nociception), temperature (thermoreception), and mechanical stimuli (mechanoreception). They are also involved in detecting chemical changes in the environment. These nerve endings are crucial for initiating protective reflexes and informing the central nervous system about potential threats or changes in the external and internal environments.