3. JavaScript: It is primarily used for creating dynamic and interactive websites, adding functionality to web pages and enhancing user experiences.